freebsd-ports/devel/nspr/files/patch-config_nspr.pc.in
Jan Beich 032713d124 devel/nspr: cleanup cruft to improve style
- Remove out-of-tree build (in favor of D4157)
- Remove custom do-install (config/nsinstall works fine) [1]
- Convert to new testing framework
- Refresh patches with |make makepatch| but leave damage out [2]

[1] Requires PORTREVISION per new entry in plist and DEBUG builds
    no longer embedding WRKDIR in source file name
[2] Here's a list with * indicating severity:
    *** Lost original ptthread.c hunk from patch-bug301986
    *** Mixed patch-bug782111 into patch-bug301986
    ** Duplicated context lines
    * Wrong timestamps with USES=pathfix
2015-11-21 02:26:15 +00:00

10 lines
489 B
PkgConfig

--- config/nspr.pc.in.orig 2015-10-16 13:22:19 UTC
+++ config/nspr.pc.in
@@ -6,5 +6,5 @@ includedir=@includedir@
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}