aboutsummaryrefslogtreecommitdiff
path: root/editors/dedit
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-15 18:21:14 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-15 18:21:14 +0000
commitcf6c1d94066589229dee3a8542923bf70183d4ad (patch)
tree73f157f51ec583d3b8283eaa2dee872c2090ac7d /editors/dedit
parentab9882ea13576be7d2fc1d6f6bdbdc7e8bae252b (diff)
downloadports-cf6c1d94066589229dee3a8542923bf70183d4ad.tar.gz
ports-cf6c1d94066589229dee3a8542923bf70183d4ad.zip
Notes
Diffstat (limited to 'editors/dedit')
-rw-r--r--editors/dedit/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/editors/dedit/Makefile b/editors/dedit/Makefile
index 8fa191c7837a..caaf33106605 100644
--- a/editors/dedit/Makefile
+++ b/editors/dedit/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_X_PREFIX= yes
+USE_REINPLACE= yes
USE_GNOME= gnomelibs gnomeprefix gnomehack gtk12 glib12 orbit
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -29,8 +30,8 @@ MAN1= dedit.1
MANLANG= "" ja
pre-patch:
- @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${PERL} -pi -e \
- 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|\(\$$(datadir)/\)gnome/|\1|g ; \
s|dedit.ja.1||'
post-install: