freebsd-ports/sysutils/xacpim/files/patch-Makefile
Antoine Brodin b828827f99 Use gmake instead of using rules that may or may not work depending of the
version of sys.mk
This fixes build on head after r279980
2015-03-17 22:05:36 +00:00

15 lines
471 B
Text

--- Makefile.orig Tue Dec 23 16:18:59 2003
+++ Makefile Fri May 21 16:40:21 2004
@@ -1,10 +1,9 @@
-CC = gcc
-CFLAGS = -O2 -ansi -Wall -L/usr/X11R6/lib -I/usr/X11R6/include
+CFLAGS += -L${LOCALBASE}/lib -I${LOCALBASE}/include
OBJS = main.o graphics.o sys.o osdep/freebsd.o
all:: ${OBJS}
- ${CC} -o xacpim *.o -lX11 -L/usr/X11R6/lib -I/usr/X11R6/include
+ ${CC} -o xacpim ${OBJS} -lX11 -L${LOCALBASE}/lib -I${LOCALBASE}/include
install:: xacpim
strip xacpim