aboutsummaryrefslogtreecommitdiff
path: root/graphics/agg
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-11-02 12:37:16 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-11-02 12:37:16 +0000
commit61b75906aef0c6dfc18c5d99a529f49dcdf6ab02 (patch)
treed48ecd6b4844de244cbaeb67939e5cfb13326fbf /graphics/agg
parent1a07d8bd37a4f742eb3f9d461d37dcd49eb24cfc (diff)
downloadports-61b75906aef0c6dfc18c5d99a529f49dcdf6ab02.tar.gz
ports-61b75906aef0c6dfc18c5d99a529f49dcdf6ab02.zip
Notes
Diffstat (limited to 'graphics/agg')
-rw-r--r--graphics/agg/Makefile9
-rw-r--r--graphics/agg/files/Makefile.in.FreeBSD1
2 files changed, 3 insertions, 7 deletions
diff --git a/graphics/agg/Makefile b/graphics/agg/Makefile
index 712f804e2645..99af2c4b2fe1 100644
--- a/graphics/agg/Makefile
+++ b/graphics/agg/Makefile
@@ -18,9 +18,10 @@ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
MAINTAINER= ports@FreeBSD.org
COMMENT= A High Quality Rendering Engine for C++
-WRKSRC= ${WRKDIR}/agg23
+BUILD_WRKSRC= ${WRKDIR}/agg23/src
USE_GMAKE= yes
-MAKE_ENV= C="${CC}" CXX="${CXX}"
+MAKE_ENV= C="${CC}" CXX="${CXX}" AGGCXXFLAGS="${CXXFLAGS}"
+CXXFLAGS+= -I${X11BASE}/include -L${X11BASE}/lib -I../include -L./
PLIST_FILES= lib/libagg.a
@@ -28,10 +29,6 @@ PLIST_FILES= lib/libagg.a
post-extract:
@${CP} -f ${FILESDIR}/Makefile.in.FreeBSD ${WRKSRC}
- @${SED} 's,%%X11BASE%%,${X11BASE},g' < ${FILESDIR}/Makefile.in.FreeBSD > ${WRKSRC}/Makefile.in.FreeBSD
-
-do-build:
- @cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${GMAKE} all && ranlib libagg.a
do-install:
${INSTALL_DATA} ${WRKSRC}/src/libagg.a ${PREFIX}/lib
diff --git a/graphics/agg/files/Makefile.in.FreeBSD b/graphics/agg/files/Makefile.in.FreeBSD
index b6456841022b..6c5567ecd365 100644
--- a/graphics/agg/files/Makefile.in.FreeBSD
+++ b/graphics/agg/files/Makefile.in.FreeBSD
@@ -1,5 +1,4 @@
AGGLIBS= -lagg
-AGGCXXFLAGS = -I%%X11BASE%%/include -L%%X11BASE%%/lib
#CXX =
#C = gcc
#CXX = icc