Index: head/graphics/gts/Makefile =================================================================== --- head/graphics/gts/Makefile (revision 74492) +++ head/graphics/gts/Makefile (revision 74493) @@ -1,34 +1,39 @@ # ex:ts=8 # Ports collection makefile for: gts # Date created: Jun 23, 2002 # Whom: ijliao # # $FreeBSD$ # PORTNAME= gts PORTVERSION= 0.7.0 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} 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} ${INSTALL_DATA} ${WRKSRC}/doc/html/* ${DOCSDIR} .endif .include Property changes on: head/graphics/gts/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.6 \ No newline at end of property +1.7 \ No newline at end of property