opnsense-ports/math/mtrxmath/files/patch-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

23 lines
498 B
Text

--- Makefile.orig Mon Apr 9 10:26:51 2001
+++ Makefile Sun Mar 7 12:06:36 2004
@@ -1,10 +1,9 @@
# Edited for Debian GNU/Linux
DESTDIR=
-CFLAGS=-Wall
+CFLAGS+=-Wall ${CPPFLAGS}
IFLAGS=--owner=root --group=root
BASEPATH=${DESTDIR}/usr
BINPATH=${BASEPATH}/bin
-MANPATH=${BASEPATH}/share/man/man1
SRCS=add.c mtrxmath.c mult.c sub.c inverse.c
@@ -14,7 +13,7 @@
all: ${EXE}
${EXE}: ${OBJS}
- ${CC} -o $@ ${OBJS}
+ ${CC} -o $@ ${OBJS} ${LDFLAGS}
clean:
rm -f ${OBJS} ${EXE} *.orig