diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-01-09 23:02:29 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-01-09 23:02:29 +0000 |
commit | 9308f87e9941bea126ac1c5c768a2387debabdfa (patch) | |
tree | ccc6a082c6c1de98183b6c084b80c090470420d7 /x11-toolkits/plib | |
parent | - Stage support (diff) |
Remove NEED_ROOT, older automake generate bogus Makefile.in that run RANLIB twice:
one at build time, the second time at install time (which is wrong given the file has a 444 mode)
While here remove check for unsupported versions
Notes
Notes:
svn path=/head/; revision=339298
Diffstat (limited to 'x11-toolkits/plib')
-rw-r--r-- | x11-toolkits/plib/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/x11-toolkits/plib/Makefile b/x11-toolkits/plib/Makefile index 500a0de2dd66..cf1f52782bac 100644 --- a/x11-toolkits/plib/Makefile +++ b/x11-toolkits/plib/Makefile @@ -14,23 +14,19 @@ USES= gmake USE_XORG= xt xi xmu xext x11 USE_GL= glu GNU_CONFIGURE= yes -NEED_ROOT= yes CXXFLAGS+= -fPIC CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -.include <bsd.port.pre.mk> - EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-js-jsBSD.cxx post-patch: @${REINPLACE_CMD} -e 's|-lpthread||g ; \ s|-ldl||g ; \ s|-lc_r||g' ${WRKSRC}/configure -.if ${OSVERSION} >= 800064 + @${REINPLACE_CMD} -e '/echo.*RANLIB/,+1d' ${WRKSRC}/src/*/Makefile.in @${ECHO} "JS component is not compiled with new usb stack" -.endif post-build: ${CC} ${CFLAGS} -o ${WRKDIR}/plib-jscal ${FILESDIR}/jsBSDCal.c @@ -38,4 +34,4 @@ post-build: post-install: ${INSTALL_PROGRAM} ${WRKDIR}/plib-jscal ${STAGEDIR}${PREFIX}/bin -.include <bsd.port.post.mk> +.include <bsd.port.mk> |