aboutsummaryrefslogtreecommitdiff
path: root/devel/pwlib
diff options
context:
space:
mode:
authorRoger Hardiman <roger@FreeBSD.org>2003-08-31 19:12:21 +0000
committerRoger Hardiman <roger@FreeBSD.org>2003-08-31 19:12:21 +0000
commitf01ce558427e6b313c969b9d6ad4a3aa064558bb (patch)
tree2aa39488905ce2ba581a07b2154f8bf4743c8a80 /devel/pwlib
parent6b6c7fdb53a2c5eef0686ac676b1d2cc3fb85453 (diff)
downloadports-f01ce558427e6b313c969b9d6ad4a3aa064558bb.tar.gz
ports-f01ce558427e6b313c969b9d6ad4a3aa064558bb.zip
Notes
Diffstat (limited to 'devel/pwlib')
-rw-r--r--devel/pwlib/Makefile6
-rw-r--r--devel/pwlib/files/patch-configurein19
2 files changed, 23 insertions, 2 deletions
diff --git a/devel/pwlib/Makefile b/devel/pwlib/Makefile
index 2e6335839c5b..22af3c6ebbd6 100644
--- a/devel/pwlib/Makefile
+++ b/devel/pwlib/Makefile
@@ -7,7 +7,7 @@
PORTNAME= pwlib
PORTVERSION= 1.5.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.openh323.org/bin/ \
http://www.de.openh323.org/bin/ \
@@ -25,7 +25,9 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
USE_BISON= yes
USE_GMAKE= yes
-GNU_CONFIGURE= yes
+USE_AUTOCONF= yes
+WANT_AUTOCONF_VER= 253
+CONFIGURE_ENV= OSRELEASE=${OSVERSION}
ALL_TARGET= optnoshared
MAKE_ENV= PWLIBDIR=${WRKDIR}/pwlib
THE_MACHTYPE= ${ARCH:S/i386/x86/}
diff --git a/devel/pwlib/files/patch-configurein b/devel/pwlib/files/patch-configurein
new file mode 100644
index 000000000000..a53c4f7e9403
--- /dev/null
+++ b/devel/pwlib/files/patch-configurein
@@ -0,0 +1,19 @@
+*** configure.in.orig Sun Aug 31 09:31:23 2003
+--- configure.in Sun Aug 31 09:31:50 2003
+*************** case "$target_os" in
+*** 39,45 ****
+ STDCCFLAGS="-DP_LINUX=$OSRELEASE" ;;
+
+ freebsd* ) OSTYPE=FreeBSD ;
+! OSRELEASE=`sysctl -n kern.osreldate` ;
+ STDCCFLAGS="-DP_FREEBSD=$OSRELEASE" ;;
+
+ openbsd* ) OSTYPE=OpenBSD ;
+--- 39,45 ----
+ STDCCFLAGS="-DP_LINUX=$OSRELEASE" ;;
+
+ freebsd* ) OSTYPE=FreeBSD ;
+! ## use enviroment variable OSRELEASE=`sysctl -n kern.osreldate` ;
+ STDCCFLAGS="-DP_FREEBSD=$OSRELEASE" ;;
+
+ openbsd* ) OSTYPE=OpenBSD ;