aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authormikeh <mikeh@FreeBSD.org>2002-10-09 08:41:26 +0800
committermikeh <mikeh@FreeBSD.org>2002-10-09 08:41:26 +0800
commit178bc08e037532e0c361e94d92f3525738c31ab5 (patch)
tree25d52654cc85378886a3c05be3c245eeca8eda13 /x11-toolkits
parentab52f3fc1d88aeebec277cd4885347a24e9271af (diff)
downloadfreebsd-ports-gnome-178bc08e037532e0c361e94d92f3525738c31ab5.tar.gz
freebsd-ports-gnome-178bc08e037532e0c361e94d92f3525738c31ab5.tar.zst
freebsd-ports-gnome-178bc08e037532e0c361e94d92f3525738c31ab5.zip
Fix build for people who have xforms-1.0_1,1 already installed, by
linking against the correct library. PR: ports/43842
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/xforms/files/patch-ab17
1 files changed, 12 insertions, 5 deletions
diff --git a/x11-toolkits/xforms/files/patch-ab b/x11-toolkits/xforms/files/patch-ab
index 2d2e2227e60c..2415d92deefe 100644
--- a/x11-toolkits/xforms/files/patch-ab
+++ b/x11-toolkits/xforms/files/patch-ab
@@ -10,7 +10,7 @@
$(SNPINC) \
-I$(BUILDINCDIR) \
--- demos/Imakefile.orig Fri Sep 27 16:11:45 2002
-+++ demos/Imakefile Mon Oct 7 01:27:39 2002
++++ demos/Imakefile Tue Oct 8 18:33:33 2002
@@ -97,6 +97,9 @@
DEPOBJS = $(DEPSRCS:.c=.o)
PROGRAMS = $(DEMOSRCS:.c=)
@@ -21,18 +21,25 @@
#if Solaris64Bit
LDPRELIB = -L/usr/openwin/lib/sparcv9 -L/usr/local/lib/sparcv9
CCENVSETUP = LD_RUN_PATH=/usr/openwin/lib/sparcv9
-@@ -125,6 +128,8 @@
+@@ -125,6 +128,10 @@
DEPSNPLIB = $(SNPLIBDIR)/libformssnp.a
#endif
-+EXTRA_LDOPTIONS = $(FORMSLIB)
++EXTRA_LDOPTIONS = $(FORMSLIB) \
++ $(IMAGELIB) \
++ $(SNPLIB)
+
EXTRA_INCLUDES = \
$(SNPINC) \
-I$(BUILDINCDIR) \
-@@ -143,7 +148,7 @@
+@@ -138,12 +145,9 @@
+
+ EXTRA_LIBRARIES = \
+ $(STATIC) \
+- $(IMAGELIB) \
+- $(FORMSLIB) \
$(XPMLIB) \
- $(SNPLIB) \
+- $(SNPLIB) \
$(UNSTATIC) \
- $(JPEG) \
+ $(JPEGLIB) \