Add patch so pwlib builds correctly on bento. (use OSVERSION)
Bump port revision.
This commit is contained in:
parent
6b6c7fdb53
commit
f01ce55842
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88207
4 changed files with 46 additions and 4 deletions
|
@ -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/}
|
||||
|
|
19
devel/pwlib/files/patch-configurein
Normal file
19
devel/pwlib/files/patch-configurein
Normal file
|
@ -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 ;
|
|
@ -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/}
|
||||
|
|
19
devel/pwlib152/files/patch-configurein
Normal file
19
devel/pwlib152/files/patch-configurein
Normal file
|
@ -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 ;
|
Loading…
Reference in a new issue