pkgsrc-wip/skalibs/Makefile
Christian Koch e4d03f3a3f skalibs: Don't build shared objects for Darwin.
skalibs' README says so, and this really is the only way you can
successfully build skalibs on OS X.

This change allows execline and s6 to run on OS X.
2016-03-26 12:20:23 -07:00

26 lines
554 B
Makefile

# $NetBSD$
DISTNAME= skalibs-2.3.9.0
MASTER_SITES= http://skarnet.org/software/skalibs/
CATEGORIES= devel
MAINTAINER= cfkoch@edgebsd.org
COMMENT= The skarnet.org C system programming library
HOMEPAGE= http://skarnet.org/software/skalibs/
LICENSE= isc
USE_LANGUAGES= c
HAS_CONFIGURE= yes
USE_TOOLS+= gmake
PLIST_VARS+= include-shared-objects
PLIST.include-shared-objects= yes
CONFIGURE_ARGS+= "--prefix=${PREFIX}"
.if "${OPSYS}" == "Darwin"
PLIST.include-shared-objects= no
CONFIGURE_ARGS+= "--disable-shared"
.endif
.include "../../mk/bsd.pkg.mk"