From 968249e75cd09da4a04fc643df06ba7e3e7072f7 Mon Sep 17 00:00:00 2001 From: rene Date: Tue, 1 Oct 2013 20:58:48 +0000 Subject: - Add stage support - USE_GMAKE -> USES=gmake --- x11-toolkits/plib/Makefile | 5 ++--- x11-toolkits/plib/files/patch-src__util__Makefile.in | 11 +++++++++++ 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 x11-toolkits/plib/files/patch-src__util__Makefile.in (limited to 'x11-toolkits/plib') 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 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 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) \ -- cgit