aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-gd
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-05-23 22:22:19 +0000
committerPatrick Li <pat@FreeBSD.org>2002-05-23 22:22:19 +0000
commit03f189ed5b5a5559e1a2ac5154ffbb0d247b086e (patch)
treea7d8311612999f81e004ab9fe53399cfe729f724 /graphics/py-gd
parent52cc034e89ec1c9bb688c6b17513311efae31bb2 (diff)
downloadports-03f189ed5b5a5559e1a2ac5154ffbb0d247b086e.tar.gz
ports-03f189ed5b5a5559e1a2ac5154ffbb0d247b086e.zip
back out commit made comparing OSVERSION and use sed(1) to workaround perl
on current issue. gotta back it out sooner or later. /me puts on pointy hat Requested by: many
Notes
Notes: svn path=/head/; revision=59826
Diffstat (limited to 'graphics/py-gd')
-rw-r--r--graphics/py-gd/Makefile13
1 files changed, 1 insertions, 12 deletions
diff --git a/graphics/py-gd/Makefile b/graphics/py-gd/Makefile
index cd248ee180ff..1fb2887e7c61 100644
--- a/graphics/py-gd/Makefile
+++ b/graphics/py-gd/Makefile
@@ -24,22 +24,11 @@ EXAMPLE_DIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
USE_XPM= yes
.endif
-.include <bsd.port.pre.mk>
-
post-patch:
-.if ${OSVERSION} < 500036
${PERL} -pi -e 's,^(gd.*)$$,\1 -I${LOCALBASE}/include/gd -L${LOCALBASE}/lib,g; s,-lttf,,g; s,/usr/X11R6,${X11BASE},g;' \
${WRKSRC}/Setup
-.else
- ${SED} -i.orig -e 's,^\(gd.*\)$$,\1 -I${LOCALBASE}/include/gd -L${LOCALBASE}/lib,g' \
- -e 's,-lttf,,g' -e 's,/usr/X11R6,${X11BASE},g' ${WRKSRC}/Setup
-.endif
.if defined(WITHOUT_X11)
-.if ${OSVERSION} < 500036
${PERL} -pi -e 's,-lX11 -lXpm,,g' ${WRKSRC}/Setup
-.else
- ${SED} -i "" -e 's,-lX11 -lXpm,,g' ${WRKSRC}/Setup
-.endif
.endif
pre-build:
@@ -51,4 +40,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/gddemo.py ${EXAMPLE_DIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>