aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/plib
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2013-10-02 04:58:48 +0800
committerrene <rene@FreeBSD.org>2013-10-02 04:58:48 +0800
commit968249e75cd09da4a04fc643df06ba7e3e7072f7 (patch)
treeac094c12a28e701a7f8a3e652e236c63f2274406 /x11-toolkits/plib
parente021083a941dcc2d3384189d1974b892c262daa0 (diff)
downloadfreebsd-ports-gnome-968249e75cd09da4a04fc643df06ba7e3e7072f7.tar.gz
freebsd-ports-gnome-968249e75cd09da4a04fc643df06ba7e3e7072f7.tar.zst
freebsd-ports-gnome-968249e75cd09da4a04fc643df06ba7e3e7072f7.zip
- Add stage support
- USE_GMAKE -> USES=gmake
Diffstat (limited to 'x11-toolkits/plib')
-rw-r--r--x11-toolkits/plib/Makefile5
-rw-r--r--x11-toolkits/plib/files/patch-src__util__Makefile.in11
2 files changed, 13 insertions, 3 deletions
diff --git a/x11-toolkits/plib/Makefile b/x11-toolkits/plib/Makefile
index 551541bfbc14..ccf1137fb65c 100644
--- a/x11-toolkits/plib/Makefile
+++ b/x11-toolkits/plib/Makefile
@@ -10,16 +10,15 @@ MASTER_SITES= http://plib.sourceforge.net/dist/
MAINTAINER= ports@FreeBSD.org
COMMENT= A portable library for joystick/sound/OpenGL GUI/3D math
+USES= gmake
USE_XORG= xt xi xmu xext x11
USE_GL= glu
-USE_GMAKE= yes
GNU_CONFIGURE= yes
CXXFLAGS+= -fPIC
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-NO_STAGE= yes
.include <bsd.port.pre.mk>
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-js-jsBSD.cxx
@@ -36,6 +35,6 @@ post-build:
${CC} ${CFLAGS} -o ${WRKDIR}/plib-jscal ${FILESDIR}/jsBSDCal.c
post-install:
- ${INSTALL_PROGRAM} ${WRKDIR}/plib-jscal ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKDIR}/plib-jscal ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.post.mk>
diff --git a/x11-toolkits/plib/files/patch-src__util__Makefile.in b/x11-toolkits/plib/files/patch-src__util__Makefile.in
new file mode 100644
index 000000000000..67c7ae0245e1
--- /dev/null
+++ b/x11-toolkits/plib/files/patch-src__util__Makefile.in
@@ -0,0 +1,11 @@
+--- ./src/util/Makefile.in.orig 2008-03-11 03:10:28.000000000 +0100
++++ ./src/util/Makefile.in 2013-09-29 19:26:01.000000000 +0200
+@@ -249,7 +249,7 @@
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+ install-libLIBRARIES: $(lib_LIBRARIES)
+ @$(NORMAL_INSTALL)
+- test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
++ test -z "$(DESTDIR)$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
+ @list='$(lib_LIBRARIES)'; for p in $$list; do \
+ if test -f $$p; then \
+ f=$(am__strip_dir) \