127afe59ec
Pkgsrc changes: o On NetBSD 4.*, avoid the use of -Wl,--no-undefined. It doesn't work there, because the shared lib is not linked with libc.so (which is possibly a bug). Thanks to joerg@ for hints for how to work around this.
32 lines
806 B
Makefile
32 lines
806 B
Makefile
# $NetBSD: Makefile,v 1.6 2010/02/19 15:04:51 he Exp $
|
|
#
|
|
|
|
DISTNAME= libdaemon-0.14
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://0pointer.de/lennart/projects/libdaemon/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://0pointer.de/lennart/projects/libdaemon/
|
|
COMMENT= C library that eases the writing of UNIX daemons
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_PKGLOCALEDIR= YES
|
|
USE_LIBTOOL= YES
|
|
PKGCONFIG_OVERRIDE+= ${WRKSRC}/libdaemon.pc.in
|
|
GNU_CONFIGURE= YES
|
|
|
|
CONFIGURE_ARGS+= --disable-lynx
|
|
|
|
INSTALLATION_DIRS= share/doc/libdaemon
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/doc/README ${DESTDIR}${PREFIX}/share/doc/libdaemon
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
.if ${OPSYS} == "NetBSD" && ${OS_VERSION:M4.*} != ""
|
|
BUILDLINK_TRANSFORM+= rm:-Wl,--no-undefined
|
|
.endif
|