diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-09-05 13:03:22 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-09-05 13:03:22 +0000 |
commit | 9591635e1adfd0f6f6109794c5864de55cf71a2a (patch) | |
tree | e0fdc0cc6e65cb8b1239de881c8d118dda66da88 /print/cups15/Makefile | |
parent | 74354be8d2b0d1268ddaba1ca45a71f7827417f3 (diff) | |
download | pkgsrc-9591635e1adfd0f6f6109794c5864de55cf71a2a.tar.gz |
Various changes to fix build on Darwin.
Diffstat (limited to 'print/cups15/Makefile')
-rw-r--r-- | print/cups15/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/print/cups15/Makefile b/print/cups15/Makefile index d42bc187012..c23a2235ff6 100644 --- a/print/cups15/Makefile +++ b/print/cups15/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2015/06/18 16:33:26 gdt Exp $ +# $NetBSD: Makefile,v 1.7 2015/09/05 13:03:22 jperkin Exp $ # # The CUPS author is very good about taking back changes into the main # CUPS distribution. The correct place to send patches or bug-fixes is: @@ -56,6 +56,7 @@ CONFIGURE_ARGS+= --enable-openssl CONFIGURE_ARGS+= --enable-bannertops CONFIGURE_ARGS+= --enable-texttops CONFIGURE_ARGS+= --with-manext=bsd +CONFIGURE_ARGS+= --without-bundledir CONFIGURE_ARGS+= --without-icondir CONFIGURE_ARGS+= --without-menudir CONFIGURE_ARGS+= --without-perl @@ -79,8 +80,10 @@ CONFIGURE_ENV+= ac_cv_func_epoll_create=no .endif LIBS+= ${BUILDLINK_LDADD.iconv} -PLIST_VARS+= notmac -.if ${OPSYS} != "Darwin" +PLIST_VARS+= mac notmac +.if ${OPSYS} == "Darwin" +PLIST.mac= yes +.else PLIST.notmac= yes .endif @@ -184,7 +187,7 @@ post-install: ${INSTALL_DATA} ${WRKDIR}/cups.pam ${DESTDIR}${EGDIR} .endif .if !empty(PKG_OPTIONS:Mdnssd) - ${LN} -s ${DESTDIR}${PREFIX}/libexec/cups/backend/dnssd ${DESTDIR}${PREFIX}/libexec/cups/backend/mdns + ${LN} -fs ${DESTDIR}${PREFIX}/libexec/cups/backend/dnssd ${DESTDIR}${PREFIX}/libexec/cups/backend/mdns .endif .include "../../converters/libiconv/buildlink3.mk" |