Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2013 12:23:27 +0900
From:      Takefu <takefu@airport.fm>
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/175719: [PATCH] devel/t1lib: fix OptionsNG
Message-ID:  <5109E3AF.8000409@airport.fm>
Resent-Message-ID: <201301310330.r0V3U1Rx020141@freefall.freebsd.org>

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

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



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