aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-10-24 17:32:55 +0800
committervs <vs@FreeBSD.org>2005-10-24 17:32:55 +0800
commit76ae61f774a12d1f80c749c32d65f547fa4ecda3 (patch)
tree1d99637638a08d4cea11b768f4c9b95882eee98b /math
parentbe715e9f627ecc56f750131c2e36c7be846d8d32 (diff)
downloadfreebsd-ports-gnome-76ae61f774a12d1f80c749c32d65f547fa4ecda3.tar.gz
freebsd-ports-gnome-76ae61f774a12d1f80c749c32d65f547fa4ecda3.tar.zst
freebsd-ports-gnome-76ae61f774a12d1f80c749c32d65f547fa4ecda3.zip
Make X11BASE-safe
PR: ports/87879 Submitted by: maintainer
Diffstat (limited to 'math')
-rw-r--r--math/xppaut/files/patch-Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/xppaut/files/patch-Makefile b/math/xppaut/files/patch-Makefile
index 243290a0e87c..33001c741ca6 100644
--- a/math/xppaut/files/patch-Makefile
+++ b/math/xppaut/files/patch-Makefile
@@ -22,7 +22,7 @@
-CFLAGS= -g -O -DAUTO -DCVODE_YES -DNOERRNO -DHAVEDLL -DMYSTR=$(VERSION) -I/usr/X11R6/include
-LDFLAGS= -L/usr/X11R6/lib
-LIBS= -lX11 -lm -ldl
-+CFLAGS+= -DAUTO -DCVODE_YES -DNOERRNO -DHAVEDLL -DMYSTR=$(VERSION) -I/usr/X11R6/include
++CFLAGS+= -DAUTO -DCVODE_YES -DNOERRNO -DHAVEDLL -DMYSTR=$(VERSION) -I$(X11BASE)/include
+LDFLAGS= -L$(X11BASE)/lib
+LIBS= -lX11 -lm
# NOTE: Recent (RedHat 8) versions of GCC seem to no longer have