diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2002-07-06 02:24:58 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-07-06 02:24:58 +0000 |
commit | bc1a8c4a7c0c5884c4a53057d3c19d5183b09462 (patch) | |
tree | 947b9fa0be3f9eda93f7332eea2b6ec6f78558c8 /ftp/ncftp3/files/patch-sio-Makefile.in | |
parent | Fix for xforms 1.0. (diff) |
Actually `cvs add' needed patch for 3.1.4 this time.
Also optimize the Makefile a little more.
Submitted by: naddy
Diffstat (limited to '')
-rw-r--r-- | ftp/ncftp3/files/patch-sio-Makefile.in | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ftp/ncftp3/files/patch-sio-Makefile.in b/ftp/ncftp3/files/patch-sio-Makefile.in new file mode 100644 index 000000000000..1485fd3efdff --- /dev/null +++ b/ftp/ncftp3/files/patch-sio-Makefile.in @@ -0,0 +1,26 @@ +--- sio/Makefile.in.orig Fri Jun 28 03:09:26 2002 ++++ sio/Makefile.in Fri Jul 5 11:26:55 2002 +@@ -64,15 +64,19 @@ + chmod a+r $(PREFIX)/lib/$(LIB) $(PREFIX)/include/sio.h $(PREFIX)/include/usio.h + -@/bin/ls -l $(PREFIX)/lib/$(LIB) $(PREFIX)/include/sio.h $(PREFIX)/include/usio.h + ++dynamic: $(LIBSO) ++ + shared: $(LIBSO) + + so: $(LIBSO) + + $(LIBSO): $(SOBJS) +- /bin/rm -f $(LIBSO) +- gcc -shared -Wl,-soname,$(LIBSO) -o $(LIBSO) $(SOBJS) +- chmod a+r $(LIB) sio.h usio.h +- -@/bin/ls -l $(LIBSO) ++ /bin/rm -f $(LIBSO) $(LIBSOS) ++ $(CC) -shared "-Wl,-soname,$(LIBSO)" -o "$(LIBSO)" $(SOBJS) ++ $(CC) -shared -Wl,-x -o $(LIBSO) `lorder $(SOBJS) | tsort -q` ++ chmod a+r $(LIBSO) sio.h usio.h ++ /bin/ln -s "$(LIBSO)" "$(LIBSOS)" ++ -@/bin/ls -l "$(LIBSOS)" "$(LIBSO)" + + soinstall: $(LIBSO) + cp $(LIBSO) $(PREFIX)/lib/$(LIBSO) |