aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2012-06-05 18:16:16 +0000
committerFlorian Smeets <flo@FreeBSD.org>2012-06-05 18:16:16 +0000
commitfcf6e6f95bb37eb087060cdb902cc99e55dfdd99 (patch)
treef6637e347a8c8ad2630b384f6d7c05333df343d9 /devel
parent2963fb0119ba5a4ee53bf74d43168ef0b0f5af94 (diff)
downloadports-fcf6e6f95bb37eb087060cdb902cc99e55dfdd99.tar.gz
ports-fcf6e6f95bb37eb087060cdb902cc99e55dfdd99.zip
Fix nspr.pc which was broken by the last commit.
Reported by: Jan Henrik Sylvester <me@janh.de> Tested by: Jan Henrik Sylvester <me@janh.de>
Notes
Notes: svn path=/head/; revision=298501
Diffstat (limited to 'devel')
-rw-r--r--devel/nspr/Makefile1
-rw-r--r--devel/nspr/files/patch-config-nsprc.pc.in19
2 files changed, 9 insertions, 11 deletions
diff --git a/devel/nspr/Makefile b/devel/nspr/Makefile
index 762823845640..7ba99daa7d16 100644
--- a/devel/nspr/Makefile
+++ b/devel/nspr/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nspr
DISTVERSION= 4.9.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= MOZILLA
MASTER_SITE_SUBDIR= nspr/releases/v${PORTVERSION}/src
diff --git a/devel/nspr/files/patch-config-nsprc.pc.in b/devel/nspr/files/patch-config-nsprc.pc.in
index 70c912f7bd19..e932d92bc317 100644
--- a/devel/nspr/files/patch-config-nsprc.pc.in
+++ b/devel/nspr/files/patch-config-nsprc.pc.in
@@ -1,13 +1,10 @@
---- ../config/nspr.pc.in.orig Thu Aug 4 21:38:50 2005
-+++ ../config/nspr.pc.in Thu Aug 4 21:38:59 2005
-@@ -0,0 +1,10 @@
-+prefix=@prefix@
-+exec_prefix=@exec_prefix@
-+libdir=@libdir@
-+includedir=@includedir@
-+
-+Name: NSPR
-+Description: The Netscape Portable Runtime
-+Version: @MOD_MAJOR_VERSION@.@MOD_MINOR_VERSION@.@MOD_PATCH_VERSION@
+--- ../config/nspr.pc.in.orig 2012-05-19 00:26:17.000000000 +0200
++++ ../config/nspr.pc.in 2012-06-05 16:19:31.000000000 +0200
+@@ -6,5 +6,5 @@
+ Name: NSPR
+ Description: The Netscape Portable Runtime
+ Version: @MOD_MAJOR_VERSION@.@MOD_MINOR_VERSION@.@MOD_PATCH_VERSION@
+-Libs: -L@libdir@ -lplds@MOD_MAJOR_VERSION@ -lplc@MOD_MAJOR_VERSION@ -lnspr@MOD_MAJOR_VERSION@
+-Cflags: -I@includedir@
+Libs: -L${libdir} -lplds@MOD_MAJOR_VERSION@ -lplc@MOD_MAJOR_VERSION@ -lnspr@MOD_MAJOR_VERSION@ @OS_LIBS@
+Cflags: -I${includedir}