aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-09-04 03:41:40 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-09-04 03:41:40 +0000
commit736d942fe5f77a6c830763842f819fcd855337c3 (patch)
tree1e4e8210f62c8aa3c7abef8a8ad8e9036275353a /ports-mgmt
parentef1a0819e359a3020a3dec929700313150e6778a (diff)
downloadports-736d942fe5f77a6c830763842f819fcd855337c3.tar.gz
ports-736d942fe5f77a6c830763842f819fcd855337c3.zip
Notes
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/pkg_install/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/ports-mgmt/pkg_install/Makefile b/ports-mgmt/pkg_install/Makefile
index 75f1642119a6..5e8c12cffbe8 100644
--- a/ports-mgmt/pkg_install/Makefile
+++ b/ports-mgmt/pkg_install/Makefile
@@ -46,6 +46,12 @@ pre-configure:
-e 's,%%MANPREFIX%%,${MANPREFIX},g' \
${FILESDIR}/Makefile.inc > ${WRKDIR}/Makefile.inc
+.if ${OSVERSION} < 440001 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500024 )
+post-patch:
+ @${FIND} ${WRKSRC} -name '*.c' \
+ | ${XARGS} ${PERL} -pi.orig -e 's/__FBSDID\(("[^"]*")\)/static const char rcsid[] = $$1/'
+.endif
+
deinstall:
@if ${PKG_INFO} -e ${PKGNAME}; then \
${PKG_DELETE} -f ${PKGNAME}; \