aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-01-13 10:43:19 +0800
committermarcus <marcus@FreeBSD.org>2003-01-13 10:43:19 +0800
commit3cecd5a5939c53b85978e62aebd1b3045e0f78e9 (patch)
tree177884d98a580bb92c3d304827e4a6cc01059991
parent7ed72a30bc0e76f8f41ffecefc8a4b0526a73ecc (diff)
downloadfreebsd-ports-gnome-3cecd5a5939c53b85978e62aebd1b3045e0f78e9.tar.gz
freebsd-ports-gnome-3cecd5a5939c53b85978e62aebd1b3045e0f78e9.tar.zst
freebsd-ports-gnome-3cecd5a5939c53b85978e62aebd1b3045e0f78e9.zip
Set the MTREE_FILE explicitly since we're setting PREFIX explicitly.
Modeled after: lang/librep
-rw-r--r--textproc/scrollkeeper/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/textproc/scrollkeeper/Makefile b/textproc/scrollkeeper/Makefile
index fa9d3ffead66..94bb9727c4e1 100644
--- a/textproc/scrollkeeper/Makefile
+++ b/textproc/scrollkeeper/Makefile
@@ -7,7 +7,7 @@
PORTNAME= scrollkeeper
PORTVERSION= 0.3.11
-PORTREVISION= 4
+PORTREVISION= 5
PORTEPOCH= 1
CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
@@ -54,6 +54,14 @@ MAN7= scrollkeeper.7
MAN8= scrollkeeper-preinstall.8 scrollkeeper-rebuilddb.8 \
scrollkeeper-update.8
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 3
+MTREE_FILE= /etc/mtree/BSD.x11.dist
+.else
+MTREE_FILE= /etc/mtree/BSD.x11-4.dist
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@@ -69,4 +77,4 @@ post-patch:
@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>