aboutsummaryrefslogtreecommitdiff
path: root/graphics/exact-image
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-08-31 22:33:40 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-08-31 22:33:40 +0000
commit00ce917cac0c481290034abb78c720bd7a05811f (patch)
tree7f52068a4f1cd19099f4fb359a28ebbbf0ddf8a7 /graphics/exact-image
parent1e2421aa4281ad05eda926f3a8c39b6aa8afe38a (diff)
downloadports-00ce917cac0c481290034abb78c720bd7a05811f.tar.gz
ports-00ce917cac0c481290034abb78c720bd7a05811f.zip
Notes
Diffstat (limited to 'graphics/exact-image')
-rw-r--r--graphics/exact-image/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/exact-image/Makefile b/graphics/exact-image/Makefile
index 8e9bd4c2f41a..718a63f47e6d 100644
--- a/graphics/exact-image/Makefile
+++ b/graphics/exact-image/Makefile
@@ -40,8 +40,8 @@ post-extract:
@${RM} -rf ${WRKSRC}/agg-2.4/
post-patch:
- @${REINPLACE_CMD} -e '1s|/.*|/bin/sh|;s|libpng|libpng12|'\
- ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e '1s|/.*|/bin/sh|;s|libpng|libpng12|;\
+ /parse_options/d' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/^Q =/d;s|$$[(]COMPILE.cc[)]|${CXX} $${CPPFLAGS} -c|;\
s|$$[(]CXX[)]|${CXX}|;s|$$[(]COMPILE.c[)]|${CC} $${CPPFLAGS} -c|'\
${WRKSRC}/build/bottom.make
@@ -49,8 +49,8 @@ post-patch:
/mtune=/d;/call cc-option/d;' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e '/CFLAGS=/s|".*"|"${CFLAGS} -I${LOCALBASE}/include"|;\
/LIBS=/s|".*"|"-L${LOCALBASE}/lib -lX11"|' ${WRKSRC}/config/pkgcheck-x11.c
- @${REINPLACE_CMD} -e 's|$$prg|$$prg -I${LOCALBASE}/include|'\
- ${WRKSRC}/config/functions
+ @${REINPLACE_CMD} -e 's|$$prg|$$prg -I${LOCALBASE}/include|;\
+ /^var_remove/,/^}/d;/^parse_options/,/^}/d' ${WRKSRC}/config/functions
post-configure:
@${REINPLACE_CMD} -e '/EVASGL/s|1|0|' ${WRKSRC}/config.h