Bug 85517 - net/samba: build problems with samba-2.2.12 + libtool 1.5.8
Summary: net/samba: build problems with samba-2.2.12 + libtool 1.5.8
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-31 11:50 UTC by Roman Kurakin
Modified: 2005-08-31 21:17 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Kurakin freebsd_committer freebsd_triage 2005-08-31 11:50:11 UTC
The compilation fails on examples/VFS/ cause libtool requires a --tag option.

Fix: Here is the new patch (patch-examples::VFS::Makefile.in):


%.so: %.lo
        @echo Linking $<
-       @$(LIBTOOL) --mode=link $(CC) -o $@ $< $(LDFLAGS)
+       @$(LIBTOOL) --mode=link --tag=CC $(CC) -o $@ $< $(LDFLAGS)

 %.lo: %.c
        @echo Compiling $<
-       @$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
+       @$(LIBTOOL) --mode=compile --tag=CC $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o

 # Misc targets--uH8HMu9hnodXSg4ayVrPNsdKWXiWum7Tmoq1zx8kypIjiHGO
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- examples/VFS/Makefile.in.orig       Wed Aug 31 14:06:10 2005
+++ examples/VFS/Makefile.in    Wed Aug 31 14:05:59 2005
@@ -17,11 +17,11 @@
How-To-Repeat: Build samba 2.2.12 with libtool 1.5.8.
(All optios WITH for samba was selected, WITHOUT deselected)
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-08-31 21:17:30 UTC
State Changed
From-To: open->closed

Committed, thanks!