ports/185263: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Sat Jan 18 16:40:02 UTC 2014
The following reply was made to PR ports/185263; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/185263: commit references a PR
Date: Sat, 18 Jan 2014 16:39:49 +0000 (UTC)
Author: rakuco
Date: Sat Jan 18 16:39:41 2014
New Revision: 340194
URL: http://svnweb.freebsd.org/changeset/ports/340194
QAT: https://qat.redports.org/buildarchive/r340194/
Log:
- Pass -lm when using gts' pkg-config file. [1]
This is also done in the package's upstream darcs repository.
- Support staging.
- Set LICENSE.
- Use the new OPTIONS/LIB_DEPENDS syntax.
PR: ports/185263 [1]
Submitted by: Tatsuki Makino <tatsuki_makino at hotmail.com>
Approved by: Erik Greenwald <erik at elfga.com> (maintainer)
MFH: 2014Q1
Added:
head/graphics/gts/files/patch-gts.pc.in (contents, props changed)
Modified:
head/graphics/gts/Makefile
Modified: head/graphics/gts/Makefile
==============================================================================
--- head/graphics/gts/Makefile Sat Jan 18 16:35:12 2014 (r340193)
+++ head/graphics/gts/Makefile Sat Jan 18 16:39:41 2014 (r340194)
@@ -3,34 +3,31 @@
PORTNAME= gts
PORTVERSION= 0.7.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= erik at bz.bzflag.bz
COMMENT= GNU Triangulated Surface Library
+LICENSE= LGPL20
+
USES= pkgconfig
USE_GNOME= glib20
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
OPTIONS_DEFINE= NETPBM
-NETPBM_DESC= Build with libnetpbm support
+OPTIONS_SUB= yes
+
+NETPBM_DESC= Build with libnetpbm support
+NETPBM_LIB_DEPENDS= libnetpbm.so:${PORTSDIR}/graphics/netpbm
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MNETPBM}
-LIB_DEPENDS+= netpbm.1:${PORTSDIR}/graphics/netpbm
-PLIST_SUB= NETPBM=""
-.else
-PLIST_SUB= NETPBM="@comment "
-.endif
-
post-extract:
.if ! ${PORT_OPTIONS:MNETPBM}
@${REINPLACE_CMD} -e 's|netpbm="true"|netpbm="false"|' \
Added: head/graphics/gts/files/patch-gts.pc.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/gts/files/patch-gts.pc.in Sat Jan 18 16:39:41 2014 (r340194)
@@ -0,0 +1,10 @@
+--- ./gts.pc.in.orig 2005-01-19 04:48:19.000000000 +0000
++++ ./gts.pc.in 2013-12-29 08:54:18.000000000 +0000
+@@ -6,6 +6,6 @@
+ Name: GTS
+ Description: GNU Triangulated Surface Library
+ Version: @VERSION@
+ Requires: glib-2.0,gthread-2.0,gmodule-2.0
+-Libs: -L${libdir} @LIBS@ -lgts
++Libs: -L${libdir} @LIBS@ -lgts -lm
+ Cflags: -I${includedir}
_______________________________________________
svn-ports-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe at freebsd.org"
More information about the freebsd-ports-bugs
mailing list