aboutsummaryrefslogtreecommitdiffstats
path: root/devel/aegis/Makefile
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2008-03-24 02:45:00 +0800
committeralepulver <alepulver@FreeBSD.org>2008-03-24 02:45:00 +0800
commit12b5ae054553a0fd2551e807dc550670d191e77d (patch)
treee79be97250785f2bebfa8a1d20915ef7dcb5eb77 /devel/aegis/Makefile
parente7a3b40f2f2727f2aa489686379d24ef713d42b6 (diff)
downloadfreebsd-ports-gnome-12b5ae054553a0fd2551e807dc550670d191e77d.tar.gz
freebsd-ports-gnome-12b5ae054553a0fd2551e807dc550670d191e77d.tar.zst
freebsd-ports-gnome-12b5ae054553a0fd2551e807dc550670d191e77d.zip
- Fix building in FreeBSD < 7.x (with conditional patch).
- Fix pkg-plist (2 missing entries). Reported by: pointyhat (pav, erwin)
Diffstat (limited to 'devel/aegis/Makefile')
-rw-r--r--devel/aegis/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/aegis/Makefile b/devel/aegis/Makefile
index ef9a620bd2fa..0e1c82a21bee 100644
--- a/devel/aegis/Makefile
+++ b/devel/aegis/Makefile
@@ -46,6 +46,12 @@ MAN5= aecattr.5 aecstate.5 aedir.5 aefattr.5 aefstate.5 aegis.5 \
aegstate.5 aelock.5 aemetrics.5 aepattr.5 aepconf.5 aepstate.5 \
aer.5 aerptidx.5 aesub.5 aetest.5 aeuconf.5 aeustate.5
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libaegis__wide_output__header.h
+.endif
+
post-patch:
# Avoid "2>/dev/null" redirect in csh (ends up with empty manpath).
@${REINPLACE_CMD} -Ee 's|(MANPATH_PROG) 2>/dev/null|\1|' \
@@ -71,4 +77,4 @@ post-install:
# Information.
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>