aboutsummaryrefslogtreecommitdiffstats
path: root/devel
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
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')
-rw-r--r--devel/aegis/Makefile8
-rw-r--r--devel/aegis/pkg-plist2
2 files changed, 9 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>
diff --git a/devel/aegis/pkg-plist b/devel/aegis/pkg-plist
index 0eab1d372e98..2564ab619424 100644
--- a/devel/aegis/pkg-plist
+++ b/devel/aegis/pkg-plist
@@ -194,8 +194,10 @@ share/locale/en/LC_MESSAGES/aegis.mo
share/locale/es/LC_MESSAGES/aegis.mo
share/locale/fr/LC_MESSAGES/aegis.mo
share/locale/nl/LC_MESSAGES/aegis.mo
+share/locale/pt_BR/LC_MESSAGES/aegis.mo
share/locale/ro/LC_MESSAGES/aegis.mo
share/locale/ru/LC_MESSAGES/aegis.mo
+share/locale/vi/LC_MESSAGES/aegis.mo
%%PORTDOCS%%@dirrm %%DOCSDIR%%/en
%%PORTDOCS%%@dirrm %%DOCSDIR%%/de
%%PORTDOCS%%@dirrm %%DOCSDIR%%