1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/x11-toolkits/xg/files/patch-aa
Kevin Lo 2d6732060d Support CFLAGS/MAKE properly
PR: 22816
Submitted by: Ports Fury
2000-11-13 15:00:54 +00:00

23 lines
694 B
Plaintext

--- makefile.orig Sat Mar 15 09:36:20 1997
+++ makefile Sun Nov 12 22:18:51 2000
@@ -51,8 +51,8 @@
# most systems don't need to do this, ie:. -I/usr/dt/include for
# Solaris
#
-MOTIF_INC =
-CFLAGS = "-DUSE_XM_MWMUTIL_H -DUSE_XGPM -I../include ${MOTIF_INC}"
+MOTIF_INC = -I${X11BASE}/include -I${X11BASE}/include/X11
+CFLAGS += -DUSE_XM_MWMUTIL_H -DUSE_XGPM -DV_USE_TM_ZONE -I../include ${MOTIF_INC}
#
# If your OS doesn't use ranlib set RANLIB to true
@@ -76,7 +76,7 @@
library:
@(cd src; \
- CFLAGS=${CFLAGS} ARFLAGS=${ARFLAGS} RANLIB=${RANLIB} make all)
+ CFLAGS="${CFLAGS}" ARFLAGS="${ARFLAGS}" RANLIB="${RANLIB}" ${MAKE} all)
tests: library
@(cd testsrc; \