freebsd-ports/math/mtrxmath/files/patch-Makefile
Dmitry Marakasov 511f0dd007 - Add LICENSE_FILE
- Switch to options helpers
- Regenerate patches
2017-01-22 09:01:20 +00:00

23 lines
485 B
Text

--- Makefile.orig 2001-04-09 01:26:51 UTC
+++ Makefile
@@ -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 @@ EXE=mtrxmath
all: ${EXE}
${EXE}: ${OBJS}
- ${CC} -o $@ ${OBJS}
+ ${CC} -o $@ ${OBJS} ${LDFLAGS}
clean:
rm -f ${OBJS} ${EXE} *.orig