summaryrefslogtreecommitdiff
path: root/x11/xforms
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>2000-09-27 01:49:34 +0000
committerfredb <fredb@pkgsrc.org>2000-09-27 01:49:34 +0000
commit53e5fe106b3990fc09e2f083b7fd6680dc8454dc (patch)
tree2415bf00e0e7e1a63ec14f80ff16476a483e1c9d /x11/xforms
parentc3b085928bf594149ec63951ceabee004cb6d326 (diff)
downloadpkgsrc-53e5fe106b3990fc09e2f083b7fd6680dc8454dc.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"