1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/security/ADMsmb/files/patch-Makefile
Martin Wilke cbc4e9a987 - Fix build with gcc41
- Fix pkg-plist

PR:		ports/103957
Submitted by:	trasz <trasz@pin.if.uz.zgora.pl>
2006-10-06 19:22:16 +00:00

21 lines
953 B
Plaintext

--- Makefile.orig Tue Oct 3 19:42:32 2006
+++ Makefile Tue Oct 3 19:43:32 2006
@@ -11,7 +11,7 @@
FLAGS1 = -O2 -fno-strict-aliasing -pipe -march=pentium -static
LIBS1 =
-CC = gcc
+#CC = gcc
# This may help with some versions of make
SHELL = /bin/sh
@@ -56,7 +56,7 @@
CFLAGS3 = -DLOCKDIR=\"$(LOCKDIR)\" -DSMBRUN=\"$(SMBRUN)\" -DCODEPAGEDIR=\"$(CODEPAGEDIR)\"
CFLAGS4 = -DWORKGROUP=\"$(WORKGROUP)\" -DGUEST_ACCOUNT=\"$(GUESTACCOUNT)\" -DDRIVERFILE=\"$(DRIVERFILE)\"
CFLAGS5 = $(CFLAGS1) $(CFLAGS2) $(CFLAGS3) $(CFLAGS4) $(FLAGSM) $(AFS_FLAGS) $(KRB5_FLAGS) $(KRB4_FLAGS) $(RPM_OPT_FLAGS)
-CFLAGS = $(CFLAGS5) $(PAM_FLAGS) $(DCE_FLAGS) $(DES_FLAGS) $(PASSWD_FLAGS) $(VTP_FLAGS)
+CFLAGS += $(CFLAGS5) $(PAM_FLAGS) $(DCE_FLAGS) $(DES_FLAGS) $(PASSWD_FLAGS) $(VTP_FLAGS)
LIBS = $(LIBS1) $(LIBSM) $(PAM_LIBS) $(DCE_LIBS) $(KRB5_LIBS) $(KRB4_LIBS) $(DES_LIB)
INCLUDES1 = $(srcdir)version.h $(srcdir)local.h $(srcdir)includes.h $(srcdir)smb.h