- Fix install from non-root and properly stage

This commit is contained in:
Dmitry Marakasov 2015-02-03 21:28:43 +00:00
parent 8e9ec7cd42
commit 12d256feb7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378378

View file

@ -24,7 +24,7 @@ PLIST_FILES= %%ETCDIR%%/ldap.conf %%ETCDIR%%/modules/ldap.so \
%%ETCDIR%%/yptransitd.conf sbin/yptransitd %%ETCDIR%%/yptransitd.conf sbin/yptransitd
post-patch: post-patch:
@${REINPLACE_CMD} -e 's, $$(CONFDIR), $${DESTDIR}$$(CONFDIR),' \ @${REINPLACE_CMD} -e 's, \($$([A-Z]*DIR)\), $${DESTDIR}\1,g' \
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's,=gcc,=@CC@,' \ @${REINPLACE_CMD} -e 's,=gcc,=@CC@,' \
${WRKSRC}/lib/Makefile.in ${WRKSRC}/lib/Makefile.in