summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorreed <reed>2005-05-12 18:31:20 +0000
committerreed <reed>2005-05-12 18:31:20 +0000
commit9ba2179e8ba74717c3b0540c26b2009e0b542eca (patch)
treee5559f726c64a849afb6caeb9575723c008d4f7a /misc
parent5b7106d9672dbeb8a6078d1581c3bea6a578d47f (diff)
downloadpkgsrc-9ba2179e8ba74717c3b0540c26b2009e0b542eca.tar.gz
For Linux, use
BUILDLINK_TRANSFORM+= rm:-Wl,--no-undefined to workaround bug noted in PR #25402
Diffstat (limited to 'misc')
-rw-r--r--misc/koffice/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/misc/koffice/Makefile b/misc/koffice/Makefile
index 809d58fa1ed..88c30b03cca 100644
--- a/misc/koffice/Makefile
+++ b/misc/koffice/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2005/04/11 21:46:36 tv Exp $
+# $NetBSD: Makefile,v 1.56 2005/05/12 18:31:20 reed Exp $
DISTNAME= koffice-1.3.5
PKGREVISION= 4
@@ -20,6 +20,13 @@ USE_LIBTOOL= YES
GCC_REQD+= 2.95.3
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Linux"
+# workaround bug noted in PR #25402
+BUILDLINK_TRANSFORM+= rm:-Wl,--no-undefined
+.endif
+
PTHREAD_OPTS+= require
PYTHON_VERSIONS_ACCEPTED= 24 23 # needs shared library