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>
This commit is contained in:
Florian Smeets 2012-06-05 18:16:16 +00:00
parent 2963fb0119
commit fcf6e6f95b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298501
2 changed files with 9 additions and 11 deletions

View file

@ -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

View file

@ -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}