summaryrefslogtreecommitdiff
path: root/deskutils/adesklets
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/adesklets
parent- Update to 0.7.4a (diff)
Attempt to fix build on 7.x (7.x now is pretty same that 6.x, so teach
the configure script to deal with 7.x like with 6.x). Reported by: poinyhat via kris
Notes
Notes: svn path=/head/; revision=139235
Diffstat (limited to 'deskutils/adesklets')
-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}