freebsd-ports/math/mtrxmath/files/patch-Makefile
Kirill Ponomarev 0ebb8e9194 - Update to version 1.0.2
PR:		ports/63880
Submitted by:	Ports Fury
2004-03-07 16:41:00 +00: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