diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-02-02 14:55:53 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-02-02 14:55:53 +0000 |
commit | 4e9800127db7c6e3ff7df207bbc9de127b42ca27 (patch) | |
tree | 75a9c6bb155e63b0d662bc8d20ade3d5da6ed3ea /textproc/raptor | |
parent | df198fc3406d239c43ef49842f1e05706eac9b30 (diff) | |
download | ports-4e9800127db7c6e3ff7df207bbc9de127b42ca27.tar.gz ports-4e9800127db7c6e3ff7df207bbc9de127b42ca27.zip |
Notes
Diffstat (limited to 'textproc/raptor')
-rw-r--r-- | textproc/raptor/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/textproc/raptor/Makefile b/textproc/raptor/Makefile index 520456ea6c42..013aacbe1e66 100644 --- a/textproc/raptor/Makefile +++ b/textproc/raptor/Makefile @@ -16,8 +16,7 @@ MASTER_SITE_SUBDIR= librdf MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \ - xml2.5:${PORTSDIR}/textproc/libxml2 \ +LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \ xmlparse.1:${PORTSDIR}/www/libwww LIBWWW_CONFIG= ${LOCALBASE}/bin/libwww-config @@ -30,7 +29,12 @@ INSTALLS_SHLIB= yes MAN1= rdfdump.1 MAN3= libraptor.3 -CPPFLAGS= -I${LOCALBASE}/include `${LIBWWW_CONFIG} --cflags` -LDFLAGS= -L${LOCALBASE}/lib -lgnugetopt `${LIBWWW_CONFIG} --libs` +CPPFLAGS+= -I${LOCALBASE}/include `${LIBWWW_CONFIG} --cflags` +LDFLAGS+= -L${LOCALBASE}/lib `${LIBWWW_CONFIG} --libs` + +.if !exists(/usr/include/getopt.h) +LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt +LDFLAGS+= -lgnugetopt +.endif .include <bsd.port.mk> |