summaryrefslogtreecommitdiff
path: root/x11/xforms
diff options
context:
space:
mode:
authorfredb <fredb>2000-09-27 01:49:34 +0000
committerfredb <fredb>2000-09-27 01:49:34 +0000
commit18274e1f6cb9d44136c213a59194c7ac0ce471f0 (patch)
tree2415bf00e0e7e1a63ec14f80ff16476a483e1c9d /x11/xforms
parent168b321c854fc22c1c8af89c08b0cddb58dfa31b (diff)
downloadpkgsrc-18274e1f6cb9d44136c213a59194c7ac0ce471f0.tar.gz
Packages that use the shared lib really should be linked with libGL,
but since none of the NetBSD packages which link in xforms seem to use the gl_{get,set}_canvas*() and gl_win*() functions, simply extend the present ELF hack to a.out, for now. That is, disable the shared {,x}forms library the hard way, by deleting it after installation. It stinks, I know. Close PR pkg/10560.
Diffstat (limited to 'x11/xforms')
-rw-r--r--x11/xforms/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/x11/xforms/Makefile b/x11/xforms/Makefile
index bd90913c525..87a464333e4 100644
--- a/x11/xforms/Makefile
+++ b/x11/xforms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2000/09/03 23:36:49 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2000/09/27 01:49:34 fredb Exp $
#
DISTNAME= bxform-088
@@ -55,9 +55,9 @@ SHLIB_MINOR= 88
MAKE_ENV+= SHLIB_MAJOR="${SHLIB_MAJOR}" SHLIB_MINOR="${SHLIB_MINOR}"
-# XXX ELF linker tries to resolve libGL.so symbols when linking with
-# XXX shared libxforms, so for now, remove the shared lib.
-.if ${OBJECT_FMT} == "ELF"
+# XXX Run-time link editor tries to resolve libGL.so symbols when linking
+# XXX with shared libxforms, but all the packages that requre xforms seem
+# XXX to work OK without -lGL, so for now, remove the shared lib.
PLIST_SRC= ${PKGDIR}/PLIST.mi
post-install:
@@ -68,6 +68,5 @@ post-install:
${PREFIX}/lib/libxforms.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
${PREFIX}/lib/libxforms.so.${SHLIB_MAJOR} \
${PREFIX}/lib/libxforms.so
-.endif
.include "../../mk/bsd.pkg.mk"