aboutsummaryrefslogtreecommitdiff
path: root/devel/aegis/Makefile
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2008-03-23 18:45:00 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2008-03-23 18:45:00 +0000
commitfd60d46f2e6a7972c4798d623507973da3bd16c3 (patch)
tree4b8476684ef30201dfcce2230f5639dae833c6d6 /devel/aegis/Makefile
parent5afc678aac11dcb929706121d1fec2707a1e8e54 (diff)
downloadports-fd60d46f2e6a7972c4798d623507973da3bd16c3.tar.gz
ports-fd60d46f2e6a7972c4798d623507973da3bd16c3.zip
- Fix building in FreeBSD < 7.x (with conditional patch).
- Fix pkg-plist (2 missing entries). Reported by: pointyhat (pav, erwin)
Notes
Notes: svn path=/head/; revision=209637
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>