Fix packaging as a user
Strip binaries
This commit is contained in:
parent
7e0b07b0df
commit
1854d9d7a3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374852
@ -16,6 +16,7 @@ LIB_DEPENDS= libgdbm.so:${PORTSDIR}/databases/gdbm \
|
||||
USES= libtool motif tar:bzip2
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include/libelf -I${LOCALBASE}/include
|
||||
@ -35,7 +36,6 @@ post-install:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
@${TAR} -C ${WRKSRC}/examples --exclude "*Makefile*" -cf - . | \
|
||||
${TAR} -C ${STAGEDIR}${EXAMPLESDIR} --unlink -xf -
|
||||
@${CHOWN} -R ${SHAREMODE}:${SHAREGRP} ${STAGEDIR}${EXAMPLESDIR}
|
||||
@${FIND} ${STAGEDIR}${EXAMPLESDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user