Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2007 15:22:56 +0800 (CST)
From:      Rong-En Fan <rafan@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ade@FreeBSD.org
Subject:   ports/109156: [PATCH] devel/gettext: USE_LDCONFIG, respect NOPORTDOCS
Message-ID:  <200702140722.l1E7MucG029917@svm.csie.ntu.edu.tw>
Resent-Message-ID: <200702140730.l1E7U5LP095717@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702140722.l1E7MucG029917>