diff options
author | pat <pat@FreeBSD.org> | 2002-05-24 06:22:19 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-05-24 06:22:19 +0800 |
commit | c54deb27de512ced04f48f48a6668977ece0ba70 (patch) | |
tree | 98f1cfa3d42d9e110ef8367f90d94ae0e31e508a /graphics/py-gd | |
parent | 1867be1cca9ad1c85464c55c45879a81062459e0 (diff) | |
download | freebsd-ports-gnome-c54deb27de512ced04f48f48a6668977ece0ba70.tar.gz freebsd-ports-gnome-c54deb27de512ced04f48f48a6668977ece0ba70.tar.zst freebsd-ports-gnome-c54deb27de512ced04f48f48a6668977ece0ba70.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
Diffstat (limited to 'graphics/py-gd')
-rw-r--r-- | graphics/py-gd/Makefile | 13 |
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> |