1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

Reduce POLA violation for users who didn't expect to have to enable

this feature.

Prodded by: pav
This commit is contained in:
Doug Barton 2005-12-20 20:03:56 +00:00
parent 3b1ec7b41c
commit 40a70a81c2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=151670
2 changed files with 28 additions and 2 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= compat4x
PORTVERSION= ${COMPAT4X_PORTVERSION}
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= misc
MASTER_SITES= ${COMPAT4X_MASTER_SITES}
MASTER_SITE_SUBDIR= ${COMPAT4X_MASTER_SITE_SUBDIR}
@ -127,6 +127,17 @@ do-extract:
.endfor
.endif
post-extract:
@( ${ECHO} ""; \
${ECHO} "******************************************************"; \
${ECHO} "To enable the ldconfig of these libraries at boot time"; \
${ECHO} "you need to add compat4x_enable=\"yes\" to either"; \
${ECHO} "/etc/rc.conf.local or /etc/rc.conf"; \
${ECHO} "******************************************************"; \
${ECHO} ""; ) > ${WRKDIR}/pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
NO_BUILD= yes
do-install:
@ -143,5 +154,6 @@ do-install:
post-install:
@${SH} ${PKGINSTALL} ${PORTNAME} POST-INSTALL
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View File

@ -11,7 +11,7 @@
PORTNAME= compat5x
PORTVERSION= 5.4.0.8
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=lesi/compat5x
@ -67,6 +67,17 @@ PLIST_SUB+= SPARC64=""
PLIST_SUB+= SPARC64="@comment "
.endif
post-extract:
@( ${ECHO} ""; \
${ECHO} "******************************************************"; \
${ECHO} "To enable the ldconfig of these libraries at boot time"; \
${ECHO} "you need to add compat5x_enable=\"yes\" to either"; \
${ECHO} "/etc/rc.conf.local or /etc/rc.conf"; \
${ECHO} "******************************************************"; \
${ECHO} ""; ) > ${WRKDIR}/pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
NO_BUILD= yes
do-install:
@ -78,4 +89,7 @@ do-install:
${LDCONFIG} -32 -m ${TARGET32_DIR}
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>