diff options
author | Florent Thoumie <flz@FreeBSD.org> | 2005-04-12 09:06:25 +0000 |
---|---|---|
committer | Florent Thoumie <flz@FreeBSD.org> | 2005-04-12 09:06:25 +0000 |
commit | 84dee8dde88b73b2e13dba2a7e117655103732f0 (patch) | |
tree | af57ee5943fc53988e7e936954a943ccbdff1b07 /security/cfs/files/patch-Makefile | |
parent | Fix and document insecure temporary file handling in portupgrade. (diff) |
- Merge and split existing patch-a[a-f] files.
- Fix types issues on 64-bits architectures.
PR: ports/75878
Submitted by: Ville-Pertti Keinonen <will@exomi.com>
Approved by: maintainer timeout (3 months)
Notes
Notes:
svn path=/head/; revision=133129
Diffstat (limited to 'security/cfs/files/patch-Makefile')
-rw-r--r-- | security/cfs/files/patch-Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/security/cfs/files/patch-Makefile b/security/cfs/files/patch-Makefile new file mode 100644 index 000000000000..1eb283317643 --- /dev/null +++ b/security/cfs/files/patch-Makefile @@ -0,0 +1,37 @@ + +$FreeBSD$ + +--- Makefile.orig ++++ Makefile +@@ -74,8 +74,9 @@ + #CC=cc + #COPT=-O -DNOT_ANSI_C -DPROTOTYPES=0 + # for gcc, use +-CC=gcc +-COPT=-O2 -DPROTOTYPES=1 ++CC?=gcc ++CFLAGS?=-O2 ++CFLAGS+=-DPROTOTYPES=1 + + #1B: paths: + #some peple like /usr/local/sbin instead of /usr/local/etc +@@ -224,12 +225,18 @@ + ## not sure what to do for NeXT. I think this works: + #CFLAGS=$(COPT) -posix -D_BSD -DANYPORT -I$(RINCLUDES) + ++## use these for FreeBSD ++CFLAGS+=-DBSD44 -DANYPORT -DSHORTLINKS ++LIBS=-lrpcsvc ++COMPAT=-lcompat ++RPCOPTS= ++ + + #========================================================================== + # (3/3) CONFIGURE: one last thing + #========================================================================== + # finally, comment out the next line: +-CC=you_forgot_to_edit_the_makefile ++#CC=you_forgot_to_edit_the_makefile + + # now you're done with local configuration. + |