diff options
author | marcus <marcus@FreeBSD.org> | 2011-08-08 01:43:59 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2011-08-08 01:43:59 +0800 |
commit | 9d3e42d6af62b6d524267c27bbf39cc0630631f2 (patch) | |
tree | ece5e70791207cca89372f1ed175c7a545119e23 /net | |
parent | a8c45a5e5c7859ab8887f76bcd3477594debe488 (diff) | |
download | freebsd-ports-gnome-9d3e42d6af62b6d524267c27bbf39cc0630631f2.tar.gz freebsd-ports-gnome-9d3e42d6af62b6d524267c27bbf39cc0630631f2.tar.zst freebsd-ports-gnome-9d3e42d6af62b6d524267c27bbf39cc0630631f2.zip |
Fix the packaging on FreeBSD < 800031 due to missing *at function support.
Reported by: pointyhat via pav
Diffstat (limited to 'net')
-rw-r--r-- | net/netatalk/Makefile | 8 | ||||
-rw-r--r-- | net/netatalk/pkg-plist | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/net/netatalk/Makefile b/net/netatalk/Makefile index 53d81470a969..e78e287e7a0c 100644 --- a/net/netatalk/Makefile +++ b/net/netatalk/Makefile @@ -7,7 +7,7 @@ PORTNAME= netatalk PORTVERSION= 2.2.0 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= net print MASTER_SITES= SF/netatalk/netatalk/2.2 @@ -107,6 +107,12 @@ LIB_DEPENDS+= avahi-client.3:${PORTSDIR}/net/avahi-app USE_GNOME+= pkgconfig .endif +.if ${OSVERSION} < 800031 +PLIST_SUB+= ATFUNCS="@comment " +.else +PLIST_SUB+= ATFUNCS="" +.endif + post-patch: @${REINPLACE_CMD} -e 's|%%DB_NAME%%|${BDB_INCLUDE_DIR:T}| ; \ s|%%DB_LIB%%|-l${BDB_LIB_NAME}|g ; \ diff --git a/net/netatalk/pkg-plist b/net/netatalk/pkg-plist index c151b831958a..72b06625e669 100644 --- a/net/netatalk/pkg-plist +++ b/net/netatalk/pkg-plist @@ -1,4 +1,4 @@ -bin/ad +%%ATFUNCS%%bin/ad bin/add_netatalk_printer bin/adv1tov2 %%APPLETALK%%bin/aecho |