summaryrefslogtreecommitdiff
path: root/mk/platform
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-11-20 17:49:49 +0000
committerrillig <rillig@pkgsrc.org>2007-11-20 17:49:49 +0000
commit84a48dac04912dae1e969a359a4a50f9022bf67c (patch)
tree956b1401fa3b3674e46a02ea05ee755c47e9b87e /mk/platform
parent0b7145a92ea7bd13b87ba853a017a8bb873fcaff (diff)
downloadpkgsrc-84a48dac04912dae1e969a359a4a50f9022bf67c.tar.gz
Added the feature "asprintf", since Solaris 10 doesn't provide it. The
missing feature is defined in the platform-specific file, which is more elegant than adding even more of those ".if ${OPSYS} == ..." conditions.
Diffstat (limited to 'mk/platform')
-rw-r--r--mk/platform/SunOS.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/platform/SunOS.mk b/mk/platform/SunOS.mk
index f84e6f8eaec..246194deafe 100644
--- a/mk/platform/SunOS.mk
+++ b/mk/platform/SunOS.mk
@@ -1,4 +1,4 @@
-# $NetBSD: SunOS.mk,v 1.32 2007/10/19 13:41:35 rillig Exp $
+# $NetBSD: SunOS.mk,v 1.33 2007/11/20 17:49:49 rillig Exp $
#
# Variable definitions for the SunOS/Solaris operating system.
@@ -64,6 +64,7 @@ _OPSYS_LIBTOOL_REQD= 1.5.22nb3
_OPSYS_PERL_REQD= # no base version of perl required
_OPSYS_PTHREAD_AUTO= no # -lpthread needed for pthreads
_OPSYS_SHLIB_TYPE= ELF # shared lib type
+_OPSYS_MISSING_FEATURES=asprintf
_PATCH_CAN_BACKUP= yes # native patch(1) can make backups
_PATCH_BACKUP_ARG?= -b -V simple -z # switch to patch(1) for backup suffix
_USE_RPATH= yes # add rpath to LDFLAGS