diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-05-23 22:22:19 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-05-23 22:22:19 +0000 |
commit | 03f189ed5b5a5559e1a2ac5154ffbb0d247b086e (patch) | |
tree | a7d8311612999f81e004ab9fe53399cfe729f724 /graphics | |
parent | Fix LIB_DEPENDS. (diff) |
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')
-rw-r--r-- | graphics/py-gd/Makefile | 13 | ||||
-rw-r--r-- | graphics/py-paint/Makefile | 5 |
2 files changed, 1 insertions, 17 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> diff --git a/graphics/py-paint/Makefile b/graphics/py-paint/Makefile index 24e1afc96d67..341a76721755 100644 --- a/graphics/py-paint/Makefile +++ b/graphics/py-paint/Makefile @@ -32,13 +32,8 @@ EXAMPLES= test_bar.py test_paint.py testpie.py .include <bsd.port.pre.mk> post-patch: -.if ${OSVERSION} < 500036 ${PERL} -pi -e 's@^(.*libraries.*)$$@\1include_dirs=${INC_DIRS},library_dirs=${LIB_DIRS},@g' \ ${WRKSRC}/setup.py -.else - ${SED} -i.orig -e 's@^\(.*libraries.*\)$$@\1include_dirs=${INC_DIRS},library_dirs=${LIB_DIRS},@g' \ - ${WRKSRC}/setup.py -.endif .if !defined(NOPORTDOCS) post-install: |