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}