use autoconf in nsprpub

This commit is contained in:
wilfried 2003-05-17 05:52:25 +00:00
parent 5fe4a95b2c
commit 73bdba91bb
2 changed files with 4 additions and 19 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.32 2003/05/17 05:15:10 wilfried Exp $
# $OpenBSD: Makefile,v 1.33 2003/05/17 05:52:25 wilfried Exp $
# Uses pthreads
COMMENT= "open source version of the Netscape browser"
@ -59,6 +59,9 @@ MAKE_ENV= LD_LIBRARY_PATH="${WRKSRC}/dist/bin" \
MOB= ${WRKSRC}/dist/bin
MOZ= ${PREFIX}/mozilla
pre-configure:
cd ${WRKSRC}/nsprpub && ${SETENV} ${AUTOCONF_ENV} ${AUTOCONF}
do-install:
${INSTALL_DATA_DIR} ${MOZ}
.for dir in chrome components defaults icons res plugins searchplugins

View File

@ -1,18 +0,0 @@
$OpenBSD: patch-nsprpub_configure,v 1.1 2003/05/14 21:50:59 wilfried Exp $
--- nsprpub/configure.orig Fri May 9 00:17:11 2003
+++ nsprpub/configure Fri May 9 00:19:25 2003
@@ -4130,12 +4130,8 @@ EOF
MDCPUCFG_H=_openbsd.cfg
PR_MD_CSRCS=openbsd.c
USE_NSPR_THREADS=1
- case "$OS_TEST" in
- alpha|mips|pmax)
- DSO_LDOPTS=-shared ;;
- *)
- DSO_LDOPTS=-Bshareable ;;
- esac
+ DSO_LDOPTS=-shared
+ MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
;;
*-openvms*)