After repocopy from devel/pwlib:

- fix PORTNAME
 - remove PORTEPOCH
 - "chase" expat libversion bump (marcus won the race ;-) )
 - use current autoconf (259) [1]
 - add patch to play nice (in preparation for the update of
   devel/pwlib) [1]

PR:		83396 (parts of) [1]
Submitted by:	Steve Ames <steve@energistic.com> [1]
Repocopy by:	marcus
This commit is contained in:
Alexander Leidinger 2006-01-31 20:56:24 +00:00
parent bd61a52c3a
commit 8a5a741bf8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=154924
2 changed files with 20 additions and 6 deletions

View file

@ -5,26 +5,26 @@
# $FreeBSD$
#
PORTNAME= pwlib
PORTNAME= pwlib152
PORTVERSION= 1.5.2
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= http://www.openh323.org/bin/ \
http://www.de.openh323.org/bin/ \
http://www.gnomemeeting.org/downloads/0.98.0/sources/
DISTNAME= ${PORTNAME}_${PORTVERSION}
DISTNAME= ${NAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A cross platform C++ library, used by OpenH323
LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2
LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2
WRKSRC= ${WRKDIR}/${PORTNAME}
WRKSRC= ${WRKDIR}/${NAME}
NAME= pwlib
USE_BISON= yes
USE_GMAKE= yes
USE_OPENLDAP= yes
USE_AUTOTOOLS= autoconf:253
USE_AUTOTOOLS= autoconf:259
CONFIGURE_ENV= OSRELEASE=${OSVERSION}
ALL_TARGET= optnoshared
MAKE_ENV= PWLIBDIR=${WRKDIR}/pwlib

View file

@ -0,0 +1,14 @@
--- make/ptbuildopts.mak.in.orig Thu Jul 7 14:17:24 2005
+++ make/ptbuildopts.mak.in Thu Jul 7 14:15:47 2005
@@ -9,6 +9,11 @@
OSTYPE = @OSTYPE@
OSRELEASE = @OSRELEASE@
+# This line makes this port of pwlib play well with others... otherwise
+# /usr/local/include gets inserted first and causes the inclusion of
+# files from different versions of pwlib
+STDCCFLAGS += -I@PWLIBDIR@/include/ptlib/unix -I@PWLIBDIR@/include
+
STDCCFLAGS += @STDCCFLAGS@
OPTSTDCCFLAGS += @OPTSTDCCFLAGS@
LDFLAGS += @LDFLAGS@