aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2005-07-14 20:32:14 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2005-07-14 20:32:14 +0000
commit229b4644532af6473239a8b378feed1d1e4d33f2 (patch)
tree2102dab6c678893ac1aa5fb6e1597dc5cfd4d8fc /deskutils
parente9153bd9abf3792bbd790572e79fd2f1ed73a45a (diff)
downloadports-229b4644532af6473239a8b378feed1d1e4d33f2.tar.gz
ports-229b4644532af6473239a8b378feed1d1e4d33f2.zip
Notes
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/adesklets/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/deskutils/adesklets/Makefile b/deskutils/adesklets/Makefile
index 40086c077370..8dca90506dc4 100644
--- a/deskutils/adesklets/Makefile
+++ b/deskutils/adesklets/Makefile
@@ -17,6 +17,7 @@ COMMENT= An interactive Imlib2 console for the X Window system
LIB_DEPENDS= Imlib2.3:${PORTSDIR}/graphics/imlib2
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
USE_PYTHON= yes
USE_BZIP2= yes
USE_XLIB= yes
@@ -39,6 +40,11 @@ CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib" \
PORTDOCS= *.html
.endif
+.if ${OSVERSION} >= 700000
+pre-configure:
+ @${REINPLACE_CMD} -e "s|FreeBSD 6|FreeBSD 7|g" ${WRKSRC}/configure
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}