summaryrefslogtreecommitdiff
path: root/comms/jpilot
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-02-16 17:20:07 +0000
committerhans <hans@pkgsrc.org>2012-02-16 17:20:07 +0000
commit448c05d20a456f1a83d6f202240f8eaa50cf3a67 (patch)
tree3ca4db03bdc7bea843e48f10a215a0f5ffe288d0 /comms/jpilot
parent9607f0baec9e6215ec13c69ad38bb6561b85f2dd (diff)
downloadpkgsrc-448c05d20a456f1a83d6f202240f8eaa50cf3a67.tar.gz
Don't use -export-dynamic on SunOS.
Diffstat (limited to 'comms/jpilot')
-rw-r--r--comms/jpilot/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/comms/jpilot/Makefile b/comms/jpilot/Makefile
index 57f03dc7456..7d6cfca1ec1 100644
--- a/comms/jpilot/Makefile
+++ b/comms/jpilot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.77 2012/02/06 12:39:41 wiz Exp $
+# $NetBSD: Makefile,v 1.78 2012/02/16 17:20:07 hans Exp $
#
DISTNAME= jpilot-1.6.0
@@ -23,7 +23,11 @@ USE_LANGUAGES+= c
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-gtk-prefix="${BUILDLINK_PREFIX.gtk2}"
CONFIGURE_ARGS+= --with-pilot-prefix="${BUILDLINK_PREFIX.pilot-link-libs}"
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} != "SunOS"
LDFLAGS+= -export-dynamic
+.endif
DOCDIR= ${PREFIX}/share/doc/jpilot
INCDIR= ${PREFIX}/include/jpilot