diff options
author | hans <hans@pkgsrc.org> | 2012-01-11 13:28:45 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-01-11 13:28:45 +0000 |
commit | 935547ee6b2d3098efa9c522b665952c7a471cf7 (patch) | |
tree | 41e1c05bb0aeca7a161fb659caedfe76bc433e29 /devel/libuuid | |
parent | 4e989b9506d4d9f2132ba7ba54d6fd162262a5ee (diff) | |
download | pkgsrc-935547ee6b2d3098efa9c522b665952c7a471cf7.tar.gz |
Fix libdladm link error on SunOS.
Diffstat (limited to 'devel/libuuid')
-rw-r--r-- | devel/libuuid/builtin.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/libuuid/builtin.mk b/devel/libuuid/builtin.mk index 8092e1bcf29..80f27e087c9 100644 --- a/devel/libuuid/builtin.mk +++ b/devel/libuuid/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.3 2011/11/30 08:04:20 sbd Exp $ +# $NetBSD: builtin.mk,v 1.4 2012/01/11 13:28:45 hans Exp $ BUILTIN_PKG:= libuuid @@ -73,6 +73,11 @@ CHECK_BUILTIN.libuuid?= no !empty(USE_TOOLS:C/:.*//:Mpkg-config) BUILDLINK_TARGETS+= libuuid-fake-pc +. if ${OPSYS} == "SunOS" +BUILDLINK_PASSTHRU_DIRS+= /lib +LIBUUID_LDADD= -L/lib +. endif + libuuid-fake-pc: ${RUN} \ ${MKDIR} ${BUILDLINK_DIR}/lib/pkgconfig; \ @@ -84,7 +89,7 @@ libuuid-fake-pc: { ${ECHO} "Name: uuid"; \ ${ECHO} "Description: Universally unique id library"; \ ${ECHO} "Version: ${BUILTIN_VERSION.libuuid}"; \ - ${ECHO} "Libs: -L/usr/lib -luuid" \ + ${ECHO} "Libs: -L/usr/lib -luuid ${LIBUUID_LDADD}" \ ${ECHO} "Cflags: -I/usr/include"; \ } >$${dst} ;\ fi |