1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/x11/XFree86-4-libraries/files/patch-z03
Satoshi Asami e9c8b285ce Both of the below are
Submitted by:	maintainer

(1) Respect CFLAGS when compiling shared libraries and servers.
    (imake-4, XFree86-4-libraries)
Reported by:	asami

(2) Do not redefine list of supported cards, and support architectures
    other than i386 better.
    (imake-4, XFree86-4-Server)
2000-09-07 00:03:49 +00:00

27 lines
1003 B
Plaintext

--- config/cf/Library.tmpl.orig Wed Oct 13 13:20:41 1999
+++ config/cf/Library.tmpl Wed Sep 6 14:25:44 2000
@@ -67,7 +67,7 @@
STD_DEFINES = LibraryDefines $(PROJECT_DEFINES)
CDEBUGFLAGS = LibraryCDebugFlags
CLIBDEBUGFLAGS = LibraryDebugOpt
- CFLAGS = $(CDEBUGFLAGS) $(CLIBDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES)
+ CFLAGS = $(SYSCFLAGS) $(CLIBDEBUGFLAGS)
# if defined(LargePICTable) && LargePICTable && defined(LargePositionIndependentCFlags)
PICFLAGS = LargePositionIndependentCFlags
# endif
@@ -434,10 +434,14 @@
# ifdef IncSubdir
# ifdef IncSubSubdir
BuildIncludes($(HEADERS),IncSubdir/IncSubSubdir,../..)
+# if !defined(LibHeaders) || LibHeaders
InstallMultipleFlags($(HEADERS),$(INCDIR)/IncSubdir/IncSubSubdir,$(INSTINCFLAGS))
+# endif
# else
BuildIncludes($(HEADERS),IncSubdir,..)
+# if !defined(LibHeaders) || LibHeaders
InstallMultipleFlags($(HEADERS),$(INCDIR)/IncSubdir,$(INSTINCFLAGS))
+# endif
# endif
# else
# ifndef CplusplusSource