diff options
author | bapt <bapt@FreeBSD.org> | 2014-01-10 07:02:29 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-01-10 07:02:29 +0800 |
commit | 52d624c08d9bfdedf99302504536d733a93ca94a (patch) | |
tree | ccc6a082c6c1de98183b6c084b80c090470420d7 /x11-toolkits/plib | |
parent | 70602ae2df69674b024896c44ac142a56c742b24 (diff) | |
download | freebsd-ports-graphics-52d624c08d9bfdedf99302504536d733a93ca94a.tar.gz freebsd-ports-graphics-52d624c08d9bfdedf99302504536d733a93ca94a.tar.zst freebsd-ports-graphics-52d624c08d9bfdedf99302504536d733a93ca94a.zip |
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
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 500a0de2dd6..cf1f52782ba 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> |