ports/175719: [PATCH] devel/t1lib: fix OptionsNG
Takefu
takefu at airport.fm
Thu Jan 31 03:30:01 UTC 2013
>Number: 175719
>Category: ports
>Synopsis: [PATCH] devel/t1lib: fix OptionsNG
>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: Thu Jan 31 03:30:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Takefu
>Release: FreeBSD 7.4-RELEASE-p11 i386
>Organization:
FOX Amateur Radio Club
>Environment:
System: FreeBSD RELENG74.localIPv4.airport.fm 7.4-RELEASE-p11 FreeBSD 7.4-RELEASE-p11 #0: Tue Dec 4 15:31:56 JST
>Description:
- fix OptionsNG
- trim header
Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:
--- t1lib-5.1.2_1,1.patch begins here ---
--- /usr/ports/devel/t1lib/Makefile 2012-11-17 14:57:04.000000000 +0900
+++ ./Makefile 2013-01-31 10:16:08.000000000 +0900
@@ -1,10 +1,5 @@
-# ex:ts=8
-# New ports collection makefile for: libt1
-# Date created: 13, May, 1999
-# Whom: Ying-Chieh Liao <ijliao at csie.nctu.edu.tw>
-#
+# Created by: Ying-Chieh Liao
# $FreeBSD: ports/devel/t1lib/Makefile,v 1.42 2012/11/17 05:57:04 svnexp Exp $
-#
PORTNAME= t1lib
PORTVERSION= 5.1.2
@@ -22,7 +17,9 @@
ALL_TARGET= without_doc
USE_LDCONFIG= yes
-.if !defined(WITHOUT_X11)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MX11}
USE_XORG= xaw
CONFIGURE_ARGS+= --with-x
PLIST_SUB+= X11=""
@@ -40,7 +37,7 @@
's|_LT_CURRENT=.*$$|_LT_CURRENT=5|g' ${WRKSRC}/configure
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/t1lib_doc.pdf ${DOCSDIR}
.endif
--- t1lib-5.1.2_1,1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list