ports/109156: [PATCH] devel/gettext: USE_LDCONFIG, respect NOPORTDOCS
Rong-En Fan
rafan at FreeBSD.org
Wed Feb 14 07:30:05 UTC 2007
>Number: 109156
>Category: ports
>Synopsis: [PATCH] devel/gettext: USE_LDCONFIG, respect NOPORTDOCS
>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: Wed Feb 14 07:30:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Rong-En Fan
>Release: FreeBSD 6.2-PRERELEASE amd64
>Organization:
NTU CSIE
>Environment:
System: FreeBSD svm.csie.ntu.edu.tw 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #13: Wed Jan 10 22:55:44 CST 2007
>Description:
- Really respect NOPORTDOCS
When it is defined, it still install share/doc/gettext/gettext_*.html
from gettext-tools/doc. Uninstall them if NOPORTDOCS is defined.
- Repliace deprecated variable (INSTALLS_SHLIB)
Port maintainer (ade at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- gettext-0.14.5_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /big/freebsd-cvsup/ncvs/ports/devel/gettext/Makefile,v
retrieving revision 1.74
diff -u -u -r1.74 Makefile
--- Makefile 23 Feb 2006 10:35:39 -0000 1.74
+++ Makefile 14 Feb 2007 07:21:09 -0000
@@ -30,7 +30,7 @@
EMACS="no"
CONFIGURE_ARGS= --disable-csharp \
--mandir=${PREFIX}/man
-INSTALLS_SHLIB= yes
+USE_LDCONFIG= yes
.if !defined(WITHOUT_GETTEXT_OPTIONS)
OPTIONS= EXAMPLES "install example files" off \
@@ -118,6 +118,8 @@
.if !defined (NOPORTDOCS)
cd ${WRKSRC}/gettext-runtime/doc && make install-data
cd ${WRKSRC}/gettext-tools/doc && make install-data-local
+.else
+ cd ${WRKSRC}/gettext-tools/doc && make uninstall-local
.endif
.if defined (WITH_EXAMPLES)
cd ${WRKSRC}/gettext-tools/examples && make install
--- gettext-0.14.5_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list