mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
- Switch this to using ${LOCALBASE} instead of calling pkg_info, which
should allow it to be installed in an all pkgng world.
This commit is contained in:
parent
a782323709
commit
41d391c9db
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299925
@ -16,10 +16,8 @@ COMMENT= Sets a port back to a previous version
|
||||
|
||||
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
|
||||
|
||||
POPT_INCLUDE= `pkg_info -xL ^popt | ${GREP} popt.h | ${SED} -e 's?/popt.h??'`
|
||||
POPT_LIB= `pkg_info -xL ^popt | ${GREP} libpopt.a | ${SED} -e 's?/libpopt.a??'`
|
||||
CONFIGURE_ENV= LIBS="-lpopt -L${POPT_LIB}"
|
||||
CPPFLAGS+= -I${POPT_INCLUDE}
|
||||
CONFIGURE_ENV= LIBS="-lpopt -L${LOCALBASE}/lib"
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
.if defined(DEFAULT_CVS_SERVER)
|
||||
CONFIGURE_ARGS+= --enable-default-server=${DEFAULT_CVS_SERVER}
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user