ports/181644: [PATCH] archivers/lzo2: fix OptionsNG

Takefu takefu at airport.fm
Thu Aug 29 10:10:01 UTC 2013


>Number:         181644
>Category:       ports
>Synopsis:       [PATCH] archivers/lzo2: 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 Aug 29 10:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Takefu
>Release:        FreeBSD 8.4-RELEASE-p1 i386
>Organization:
FOX Amateur Radio Club
>Environment:
System: FreeBSD RELENG84-ix86.localIPv4.airport.fm 8.4-RELEASE-p1 FreeBSD 8.4-RELEASE-p1 #0: Fri Jun 28 03:46:37 UTC 2013
>Description:
  fix OptionsNG
  trim header

Port maintainer (mandree at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- lzo2-2.06.patch begins here ---
diff -ruN /usr/ports/archivers/lzo2/Makefile ./Makefile
--- /usr/ports/archivers/lzo2/Makefile	2012-11-17 14:54:21.000000000 +0900
+++ ./Makefile	2013-08-29 19:00:57.000000000 +0900
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	lzo
-# Date created:				21 Feb 1998
-# Whom:					giffunip at asme.org
-#
+# Created by: giffunip at asme.org
 # $FreeBSD: ports/archivers/lzo2/Makefile,v 1.59 2012/11/17 05:54:21 svnexp Exp $
-#
  PORTNAME=	lzo2
 PORTVERSION=	2.06
@@ -22,7 +18,9 @@
 CONFIGURE_ARGS=	--enable-shared --docdir=${DOCSDIR}
 USE_LDCONFIG=	yes
 -.if defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if !${PORT_OPTIONS:MDOCS}
 INSTALL_TARGET=	install-exec install-pkgincludeHEADERS
 .endif
 @@ -34,7 +32,7 @@
 .endif
  post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,doc/,,' NEWS README
 .for i in AUTHORS BUGS COPYING NEWS README THANKS
@@ -42,7 +40,7 @@
 .endfor
 	${INSTALL_DATA}	${WRKSRC}/doc/* ${DOCSDIR}/
 .endif
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
 	${MKDIR} ${EXAMPLESDIR}
 	${INSTALL_DATA}	${WRKSRC}/examples/[a-z]*.[ch] ${EXAMPLESDIR}/
 .endif
--- lzo2-2.06.patch ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list