aboutsummaryrefslogtreecommitdiff
path: root/print/gl2ps
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /print/gl2ps
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
Notes
Diffstat (limited to 'print/gl2ps')
-rw-r--r--print/gl2ps/Makefile2
-rw-r--r--print/gl2ps/files/Makefile.ex4
-rw-r--r--print/gl2ps/files/Makefile.lib4
3 files changed, 5 insertions, 5 deletions
diff --git a/print/gl2ps/Makefile b/print/gl2ps/Makefile
index cd6e130a92f3..bf6a1fd7603d 100644
--- a/print/gl2ps/Makefile
+++ b/print/gl2ps/Makefile
@@ -32,7 +32,7 @@ do-install:
@${SED} -e 's|%%CC%%|${CC}|g; \
s|%%RM%%|${RM}|g; \
s|%%CFLAGS%%|${CFLAGS}|g; \
- s|%%X11BASE%%|${X11BASE}|g' \
+ s|%%LOCALBASE%%|${LOCALBASE}|g' \
<${FILESDIR}/Makefile.ex >${EXAMPLESDIR}/Makefile
.ifndef (NOPORTDOCS)
diff --git a/print/gl2ps/files/Makefile.ex b/print/gl2ps/files/Makefile.ex
index a3410bb6393b..6ead2825bec9 100644
--- a/print/gl2ps/files/Makefile.ex
+++ b/print/gl2ps/files/Makefile.ex
@@ -3,8 +3,8 @@
CC=%%CC%%
RM=%%RM%%
-CFLAGS= %%CFLAGS%% -DHAVE_ZLIB -O3 -I%%X11BASE%%/include
-LDFLAGS= -lgl2ps -lGL -lGLU -lglut -L%%X11BASE%%/lib -lX11 -lXi -lXmu -lm -lz
+CFLAGS= %%CFLAGS%% -DHAVE_ZLIB -O3 -I%%LOCALBASE%%/include
+LDFLAGS= -lgl2ps -lGL -lGLU -lglut -L%%LOCALBASE%%/lib -lX11 -lXi -lXmu -lm -lz
gl2psTest: gl2psTest.o
${CC} ${LDFLAGS} $> -o $@
diff --git a/print/gl2ps/files/Makefile.lib b/print/gl2ps/files/Makefile.lib
index 6d6b2830422e..2d806cb17de4 100644
--- a/print/gl2ps/files/Makefile.lib
+++ b/print/gl2ps/files/Makefile.lib
@@ -1,5 +1,5 @@
-CFLAGS+= -DHAVE_ZLIB -O3 -fPIC -I${X11BASE}/include
-LDFLAGS= -shared -E -lGL -L${X11BASE}/lib -lX11 -lXi -lXmu -lm -lz
+CFLAGS+= -DHAVE_ZLIB -O3 -fPIC -I${LOCALBASE}/include
+LDFLAGS= -shared -E -lGL -L${LOCALBASE}/lib -lX11 -lXi -lXmu -lm -lz
all: libgl2ps.so libgl2ps.a