diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-02-02 14:07:26 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-02-02 14:07:26 +0000 |
commit | a0e2b016d3fc780210c8a09234e9fefd80bf2c4c (patch) | |
tree | 3d9712f22fb47815f055f1b3f64dec7a50c8db12 | |
parent | 6f3a6e4534aa8979f5e3255876b084c3c522c543 (diff) | |
download | ports-a0e2b016d3fc780210c8a09234e9fefd80bf2c4c.tar.gz ports-a0e2b016d3fc780210c8a09234e9fefd80bf2c4c.zip |
Notes
-rw-r--r-- | graphics/gts/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/graphics/gts/Makefile b/graphics/gts/Makefile index cdaea52193e3..ec987463a319 100644 --- a/graphics/gts/Makefile +++ b/graphics/gts/Makefile @@ -14,17 +14,22 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt - USE_GNOMENG= yes USE_GNOME= glib12 USE_LIBTOOL= yes LIBTOOLFLAGS= --disable-ltlibs --release-ignore CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" INSTALLS_SHLIB= yes +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +.if !exists(/usr/include/getopt.h) +LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt +LDFLAGS+= -lgnugetopt +.endif + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} |