diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-02-02 14:42:53 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-02-02 14:42:53 +0000 |
commit | adf17e7bcfc139eed231a64d0504f277687359d1 (patch) | |
tree | d2270bcb466e37e407bc067a23824cecdaca639a /www/cadaver | |
parent | 6971c64172ca96c93e6feb46bb79230598f33c3f (diff) | |
download | ports-adf17e7bcfc139eed231a64d0504f277687359d1.tar.gz ports-adf17e7bcfc139eed231a64d0504f277687359d1.zip |
Notes
Diffstat (limited to 'www/cadaver')
-rw-r--r-- | www/cadaver/Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/www/cadaver/Makefile b/www/cadaver/Makefile index b518fb1417dc..91fc5eaf0a49 100644 --- a/www/cadaver/Makefile +++ b/www/cadaver/Makefile @@ -13,20 +13,26 @@ MASTER_SITES= http://www.webdav.org/cadaver/ MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \ - expat.4:${PORTSDIR}/textproc/expat2 \ +LIB_DEPENDS= expat.4:${PORTSDIR}/textproc/expat2 \ neon.23:${PORTSDIR}/www/neon GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --enable-netrc \ --with-expat ALL_TARGET= cadaver MAN1= cadaver.1 +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +.if !exists(/usr/include/getopt.h) +LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt +LDFLAGS+= -lgnugetopt +.endif + .if !defined(WITHOUT_OPENSSL) USE_OPENSSL= yes CONFIGURE_ARGS+= --with-ssl --with-force-ssl |