diff options
author | roger <roger@FreeBSD.org> | 2003-09-01 03:12:21 +0800 |
---|---|---|
committer | roger <roger@FreeBSD.org> | 2003-09-01 03:12:21 +0800 |
commit | 844140b38633ca889ed8710d18d9dac6b48fbefb (patch) | |
tree | 4659de6f9eaf8206e854c8783a55c3df850a654d /devel | |
parent | 6140eb08f3974fcf253874f5b6a301286c48992f (diff) | |
download | freebsd-ports-gnome-844140b38633ca889ed8710d18d9dac6b48fbefb.tar.gz freebsd-ports-gnome-844140b38633ca889ed8710d18d9dac6b48fbefb.tar.zst freebsd-ports-gnome-844140b38633ca889ed8710d18d9dac6b48fbefb.zip |
Add patch so pwlib builds correctly on bento. (use OSVERSION)
Bump port revision.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/pwlib/Makefile | 6 | ||||
-rw-r--r-- | devel/pwlib/files/patch-configurein | 19 | ||||
-rw-r--r-- | devel/pwlib152/Makefile | 6 | ||||
-rw-r--r-- | devel/pwlib152/files/patch-configurein | 19 |
4 files changed, 46 insertions, 4 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 ; diff --git a/devel/pwlib152/Makefile b/devel/pwlib152/Makefile index 2e6335839c5b..22af3c6ebbd6 100644 --- a/devel/pwlib152/Makefile +++ b/devel/pwlib152/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/pwlib152/files/patch-configurein b/devel/pwlib152/files/patch-configurein new file mode 100644 index 000000000000..a53c4f7e9403 --- /dev/null +++ b/devel/pwlib152/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 ; |