aboutsummaryrefslogtreecommitdiffstats
path: root/lang/erlang
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2003-08-31 22:38:36 +0800
committerolgeni <olgeni@FreeBSD.org>2003-08-31 22:38:36 +0800
commit799d1498c4d7b961ebf3160259b0e89342abcc51 (patch)
treea09c9ff25d6f436cfc36dfd5cd251af84add22b2 /lang/erlang
parent0af2ea1821ae7799bc9e36777b71685391e42000 (diff)
downloadfreebsd-ports-gnome-799d1498c4d7b961ebf3160259b0e89342abcc51.tar.gz
freebsd-ports-gnome-799d1498c4d7b961ebf3160259b0e89342abcc51.tar.zst
freebsd-ports-gnome-799d1498c4d7b961ebf3160259b0e89342abcc51.zip
Unbreak: fix linker issue when building .so modules.
Diffstat (limited to 'lang/erlang')
-rw-r--r--lang/erlang/files/patch-lib_asn1_c__src_Makefile.in14
-rw-r--r--lang/erlang/files/patch-lib_runtime__tools_c__src_Makefile.in25
2 files changed, 39 insertions, 0 deletions
diff --git a/lang/erlang/files/patch-lib_asn1_c__src_Makefile.in b/lang/erlang/files/patch-lib_asn1_c__src_Makefile.in
new file mode 100644
index 000000000000..7ae33c2bc61d
--- /dev/null
+++ b/lang/erlang/files/patch-lib_asn1_c__src_Makefile.in
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- lib/asn1/c_src/Makefile.in.orig Sun Aug 31 14:45:35 2003
++++ lib/asn1/c_src/Makefile.in Sun Aug 31 14:45:42 2003
+@@ -131,7 +131,7 @@
+ $(CC) -c $(CFLAGS) -o $(OBJ_FILES) $(C_FILES)
+
+ $(SHARED_OBJ_FILES): $(OBJ_FILES) $(LIBDIR)
+- $(LD) $(LDFLAGS) $(LD_INCL_EI) -o $(SHARED_OBJ_FILES) $(OBJ_FILES) $(LD_EI) $(CLIB_FLAGS) $(LIBS)
++ $(LD) $(LDFLAGS) $(LD_INCL_EI) -o $(SHARED_OBJ_FILES) $(OBJ_FILES) $(LD_EI)
+
+ $(LIBDIR):
+ -mkdir -p $(LIBDIR)
diff --git a/lang/erlang/files/patch-lib_runtime__tools_c__src_Makefile.in b/lang/erlang/files/patch-lib_runtime__tools_c__src_Makefile.in
new file mode 100644
index 000000000000..bb88be4c3948
--- /dev/null
+++ b/lang/erlang/files/patch-lib_runtime__tools_c__src_Makefile.in
@@ -0,0 +1,25 @@
+
+$FreeBSD$
+
+--- lib/runtime_tools/c_src/Makefile.in.orig Sun Aug 31 14:46:12 2003
++++ lib/runtime_tools/c_src/Makefile.in Sun Aug 31 14:47:00 2003
+@@ -107,7 +107,8 @@
+ ifdef soname
+ $(LD) $(LDFLAGS) $(soname) trace_ip_drv.so -o $@ $^ -lc $(LIBS)
+ else
+- $(LD) $(LDFLAGS) -o $@ $^ -lc $(LIBS)
++ # $(LD) $(LDFLAGS) -o $@ $^ -lc $(LIBS)
++ $(LD) $(LDFLAGS) -o $@ $^
+ endif
+
+ $(LIBDIR)/trace_file_drv.so: $(TRACE_FILE_DRV_OBJS)
+@@ -115,7 +116,8 @@
+ ifdef soname
+ $(LD) $(LDFLAGS) $(soname) trace_file_drv.so -o $@ $^ -lc $(LIBS)
+ else
+- $(LD) $(LDFLAGS) -o $@ $^ -lc $(LIBS)
++ # $(LD) $(LDFLAGS) -o $@ $^ -lc $(LIBS)
++ $(LD) $(LDFLAGS) -o $@ $^
+ endif
+
+ $(LIBDIR)/trace_ip_drv.dll: $(TRACE_IP_DRV_OBJS)