mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
2d2eff3b88
Submitted by: Ryan Flynn <parseerror@gmail.com>
22 lines
1.4 KiB
Plaintext
22 lines
1.4 KiB
Plaintext
--- src/Makefile.in.orig 2009-06-21 07:17:33.000000000 -0400
|
|
+++ src/Makefile.in 2009-07-04 19:46:15.000000000 -0400
|
|
@@ -23,8 +23,8 @@
|
|
LDFLAGS = @LDFLAGS@
|
|
INCLUDES = -I. -I$(srcdir) -I.. -I../include -I$(srcdir)/../include -I../srclib -I$(srcdir)/../srclib
|
|
LIBTOOL = @LIBTOOL@
|
|
-LIBTOOL_COMPILE = $(LIBTOOL) --mode=compile
|
|
-LIBTOOL_LINK = $(LIBTOOL) --mode=link
|
|
+LIBTOOL_COMPILE = $(LIBTOOL) --mode=compile --tag=CC
|
|
+LIBTOOL_LINK = $(LIBTOOL) --mode=link --tag=CC
|
|
LIBTOOL_INSTALL = $(LIBTOOL) --mode=install
|
|
LIBTOOL_UNINSTALL = $(LIBTOOL) --mode=uninstall
|
|
WINDRES = @WINDRES@
|
|
@@ -113,6 +113,7 @@ install : all force
|
|
if [ ! -d $(DESTDIR)$(bindir) ] ; then $(mkinstalldirs) $(DESTDIR)$(bindir) ; fi
|
|
case "@host_os@" in \
|
|
hpux*) $(CC) $(LDFLAGS) $(CFLAGS) $(iconv_LDFLAGS) iconv.@OBJEXT@ ../srclib/libicrt.a -L$(DESTDIR)$(libdir) -liconv @LIBINTL@ $(OBJECTS_RES_@WOE32@) `if test -n '$(DESTDIR)'; then echo " -Wl,+b -Wl,$(libdir)"; fi` -o iconv$(EXEEXT);; \
|
|
+ freebsd*) $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(CFLAGS) $(iconv_LDFLAGS) iconv.@OBJEXT@ ../srclib/libicrt.a ../lib/libiconv.la @LTLIBINTL@ $(OBJECTS_RES_@WOE32@) -o iconv;; \
|
|
*) $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(CFLAGS) $(iconv_LDFLAGS) iconv.@OBJEXT@ ../srclib/libicrt.a $(DESTDIR)$(libdir)/libiconv.la @LTLIBINTL@ $(OBJECTS_RES_@WOE32@) -o iconv$(EXEEXT);; \
|
|
esac
|
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) iconv$(EXEEXT) $(DESTDIR)$(bindir)/iconv$(EXEEXT)
|