mirror of
https://git.freebsd.org/ports.git
synced 2025-06-12 00:00:33 -04:00
above), the library ended up being installed in the wrong place on 6.x. Comment out the respective part of the Makefile.
19 lines
872 B
Text
19 lines
872 B
Text
--- Makefile.in.orig Thu Jul 24 15:51:49 2008
|
|
+++ Makefile.in Mon Apr 6 09:05:19 2009
|
|
@@ -348,11 +348,15 @@
|
|
INSTALL_DEST = @INSTALL_DEST@
|
|
install: install_to_$(INSTALL_DEST) install-subdir
|
|
|
|
+## FreeBSD port removed this: otherwise, FreeBSD 6.x would end up installing
|
|
+## in ${prefix}/lib/elf rather than ${prefix}/lib
|
|
+##
|
|
# This is tricky. Even though CC in the Makefile contains
|
|
# multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
|
|
# default multilib, so we have to take LIBCFLAGS into account as well,
|
|
# since it will be passed the multilib flags.
|
|
-MULTIOSDIR = `$(CC) $(LIBCFLAGS) -print-multi-os-directory`
|
|
+##MULTIOSDIR = `$(CC) $(LIBCFLAGS) -print-multi-os-directory`
|
|
+MULTIOSDIR = .
|
|
install_to_libdir: all
|
|
${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR)
|
|
$(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n
|