aboutsummaryrefslogtreecommitdiff
path: root/x11/gpctool
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gpctool')
-rw-r--r--x11/gpctool/Makefile2
-rw-r--r--x11/gpctool/files/BSDmakefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/x11/gpctool/Makefile b/x11/gpctool/Makefile
index b1c01a737229..408d644605f9 100644
--- a/x11/gpctool/Makefile
+++ b/x11/gpctool/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= gpc:${PORTSDIR}/devel/libgpc \
USE_ZIP= yes
USE_GL= yes
PLIST_FILES= bin/gpctool
-INSTALLS_SHLIB= yes
+USE_LDCONFIG= yes
NO_CDROM= Can't be used for profit without permission
MAKEFILE= ${FILESDIR}/BSDmakefile
diff --git a/x11/gpctool/files/BSDmakefile b/x11/gpctool/files/BSDmakefile
index 42365dfae84f..957862277916 100644
--- a/x11/gpctool/files/BSDmakefile
+++ b/x11/gpctool/files/BSDmakefile
@@ -6,9 +6,9 @@ SRCS= gpctool.c main.c callbacks.c graphics.c psdump.c
BINDIR= ${PREFIX}/bin
WARNS?= 2
-CFLAGS+= -I${X11BASE}/include/X11 -I${X11BASE}/include
+CFLAGS+= -I${LOCALBASE}/include/X11 -I${LOCALBASE}/include
CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${X11BASE}/lib -lformsGL -lGLU
+LDFLAGS+= -L${LOCALBASE}/lib -lformsGL -lGLU
LDFLAGS+= -L${LOCALBASE}/lib -lgpc -lm
.include <bsd.prog.mk>