aboutsummaryrefslogtreecommitdiffstats
path: root/devel/nspr
diff options
context:
space:
mode:
authorflo <flo@FreeBSD.org>2012-06-06 02:16:16 +0800
committerflo <flo@FreeBSD.org>2012-06-06 02:16:16 +0800
commite0a6e3365953dfb68fc5baa52593e2e59151ebdb (patch)
tree14c609599dee3eda82cd538f09a7ee826659d050 /devel/nspr
parent468d7a6e727a41f0fa257ccb0d8be9d110c1af45 (diff)
downloadfreebsd-ports-gnome-e0a6e3365953dfb68fc5baa52593e2e59151ebdb.tar.gz
freebsd-ports-gnome-e0a6e3365953dfb68fc5baa52593e2e59151ebdb.tar.zst
freebsd-ports-gnome-e0a6e3365953dfb68fc5baa52593e2e59151ebdb.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>
Diffstat (limited to 'devel/nspr')
-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}