ports/92434: Patch: Mk/bsd.port.mk automatic show pkg-message
Jean Milanez Melo
jmelo at freebsdbrasil.com.br
Fri Jan 27 18:40:04 UTC 2006
>Number: 92434
>Category: ports
>Synopsis: Patch: Mk/bsd.port.mk automatic show pkg-message
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Jan 27 18:40:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Jean Milanez Melo
>Release: FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD capeta.freebsdbrasil.com.br 5.3-STABLE FreeBSD 5.3-STABLE #5: Wed Mar 2 15:03:19 BRT 2005 eksffa at capeta.freebsdbrasil.com.br:/usr/obj/usr/src/sys/CAPETA i386
>Description:
- I made a patch to do "${CAT} ${PKGMESSAGE}" automatically if the pkg-message exists on port.
- If the portmgr's approve my idea i'm avaliable to make a big patch with changes on all ports.
>How-To-Repeat:
>Fix:
--- bsd.port.mk.diff begins here ---
--- bsd.port.mk.orig Fri Jan 27 15:45:11 2006
+++ bsd.port.mk Fri Jan 27 15:48:12 2006
@@ -3788,7 +3788,7 @@
check-already-installed
_INSTALL_SUSEQ= check-umask install-mtree pre-su-install \
pre-su-install-script do-install install-desktop-entries \
- post-install post-install-script add-plist-info \
+ post-install post-install-script show-pkgmessage add-plist-info \
add-plist-docs add-plist-post install-rc-script compress-man \
run-ldconfig fake-pkg security-check
_PACKAGE_DEP= install
@@ -5425,5 +5425,12 @@
.endif
.endif
+.endif
+
+.if !target(show-pkgmessage)
+show-pkgmessage:
+ @if [ -f ${PKGMESSAGE} ]; then \
+ ${CAT} ${PKGMESSAGE}; \
+ fi
.endif
# End of post-makefile section.
--- bsd.port.mk.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list