aboutsummaryrefslogtreecommitdiff
path: root/devel/nspr
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2005-08-28 07:57:55 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2005-08-28 07:57:55 +0000
commitb6214e24cd945896703bff4d21515de1ea931816 (patch)
tree19de6237f6bed233e328384b6cdd4130906d1122 /devel/nspr
parent886b9ec51c692a213a78427a95fc20a8013b9d87 (diff)
downloadports-b6214e24cd945896703bff4d21515de1ea931816.tar.gz
ports-b6214e24cd945896703bff4d21515de1ea931816.zip
Notes
Diffstat (limited to 'devel/nspr')
-rw-r--r--devel/nspr/Makefile3
-rw-r--r--devel/nspr/files/patch-..::configure16
-rw-r--r--devel/nspr/files/patch-config-nsprc.pc.in13
-rw-r--r--devel/nspr/pkg-plist3
4 files changed, 30 insertions, 5 deletions
diff --git a/devel/nspr/Makefile b/devel/nspr/Makefile
index 5ecac8f89f7f..2cc75ac3130d 100644
--- a/devel/nspr/Makefile
+++ b/devel/nspr/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nspr
PORTVERSION= 4.6
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= nspr/releases/v${PORTVERSION}/src
@@ -35,6 +36,8 @@ do-install:
${TAR} -C ${WRKSRC}/dist/lib --dereference -cf - . | \
${TAR} -C ${PREFIX}/lib -xf -
${INSTALL_SCRIPT} ${WRKSRC}/config/nspr-config ${PREFIX}/bin
+ ${MKDIR} ${PREFIX}/libdata/pkgconfig
+ ${INSTALL_DATA} ${WRKSRC}/config/nspr.pc ${PREFIX}/libdata/pkgconfig
.for lib in ${LIBS}
${LN} -sf ${lib} ${PREFIX}/lib/${lib:R}
.endfor
diff --git a/devel/nspr/files/patch-..::configure b/devel/nspr/files/patch-..::configure
index 2122dd562194..8b424123d6f2 100644
--- a/devel/nspr/files/patch-..::configure
+++ b/devel/nspr/files/patch-..::configure
@@ -1,7 +1,7 @@
---- ../configure.orig Wed Mar 26 21:21:19 2003
-+++ ../configure Sun Jun 1 13:08:11 2003
-@@ -3300,16 +3300,21 @@
- #define HAVE_BSD_FLOCK 1
+--- ../configure.orig Thu Aug 4 21:32:00 2005
++++ ../configure Thu Aug 4 21:35:41 2005
+@@ -3379,16 +3379,21 @@
+ #define HAVE_SOCKLEN_T 1
EOF
- CFLAGS="$CFLAGS $(DSO_CFLAGS) -ansi -Wall"
@@ -24,3 +24,11 @@
MDCPUCFG_H=_freebsd.cfg
PR_MD_CSRCS=freebsd.c
;;
+@@ -5729,6 +5734,7 @@
+ config/nsprincl.mk
+ config/nsprincl.sh
+ config/nspr-config
++config/nspr.pc
+ lib/Makefile
+ lib/ds/Makefile
+ lib/libc/Makefile
diff --git a/devel/nspr/files/patch-config-nsprc.pc.in b/devel/nspr/files/patch-config-nsprc.pc.in
new file mode 100644
index 000000000000..70c912f7bd19
--- /dev/null
+++ b/devel/nspr/files/patch-config-nsprc.pc.in
@@ -0,0 +1,13 @@
+--- ../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@
++Libs: -L${libdir} -lplds@MOD_MAJOR_VERSION@ -lplc@MOD_MAJOR_VERSION@ -lnspr@MOD_MAJOR_VERSION@ @OS_LIBS@
++Cflags: -I${includedir}
diff --git a/devel/nspr/pkg-plist b/devel/nspr/pkg-plist
index 9fcb3bd10451..f72f69f664f2 100644
--- a/devel/nspr/pkg-plist
+++ b/devel/nspr/pkg-plist
@@ -51,8 +51,8 @@ include/nspr/md/_rhapsody.cfg
include/nspr/md/_rhapsody.h
include/nspr/md/_scoos.cfg
include/nspr/md/_scoos.h
-include/nspr/md/_solaris.h
include/nspr/md/_solaris.cfg
+include/nspr/md/_solaris.h
include/nspr/md/_sony.cfg
include/nspr/md/_sony.h
include/nspr/md/_sunos4.cfg
@@ -136,6 +136,7 @@ lib/libplc4.so.1
lib/libplds4.a
lib/libplds4.so
lib/libplds4.so.1
+libdata/pkgconfig/nspr.pc
@dirrm include/nspr/private
@dirrm include/nspr/obsolete
@dirrm include/nspr/md