svn commit: r313312 - head/misc/getopt/files

Eitan Adler eadler at FreeBSD.org
Sun Mar 3 01:12:05 UTC 2013


Author: eadler
Date: Sun Mar  3 01:12:04 2013
New Revision: 313312
URL: http://svnweb.freebsd.org/changeset/ports/313312

Log:
  I forgot to "svn add" the patch file
  
  Pointyhat to:	me

Added:
  head/misc/getopt/files/patch-Makefile   (contents, props changed)

Added: head/misc/getopt/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/getopt/files/patch-Makefile	Sun Mar  3 01:12:04 2013	(r313312)
@@ -0,0 +1,30 @@
+--- ./Makefile.orig	2013-03-02 19:04:01.590723827 -0500
++++ ./Makefile	2013-03-02 19:06:02.492723812 -0500
+@@ -1,7 +1,7 @@
+ .SUFFIXES:
+ 
+ DESTDIR=
+-prefix=/usr/local
++prefix=$(PREFIX)
+ bindir=$(prefix)/bin
+ mandir=$(prefix)/man
+ man1dir=$(mandir)/man1
+@@ -32,7 +32,7 @@
+ LANGUAGES = ca cs da de es et eu fi fr gl hu id it ja nl pl pt_BR ru sl sv tr uk vi zh_CN zh_TW
+ MOFILES:=$(patsubst %,po/%.mo,$(LANGUAGES))
+ 
+-CPPFLAGS=-DLIBCGETOPT=$(LIBCGETOPT) -DWITHOUT_GETTEXT=$(WITHOUT_GETTEXT) -DLOCALEDIR=\"$(localedir)\" -DNOT_UTIL_LINUX -Dprogram_invocation_short_name=\"$(PACKAGE)\"  -Dprogram_version=\"$(VERSION)\"
++CPPFLAGS+=-DLIBCGETOPT=$(LIBCGETOPT) -DWITHOUT_GETTEXT=$(WITHOUT_GETTEXT) -DLOCALEDIR=\"$(localedir)\" -DNOT_UTIL_LINUX -Dprogram_invocation_short_name=\"$(PACKAGE)\"  -Dprogram_version=\"$(VERSION)\"
+ ifeq ($(LIBCGETOPT),0)
+ CPPFLAGS+=-I./gnu 
+ endif
+@@ -41,9 +41,6 @@
+          -Wcast-align -Wmissing-declarations \
+          -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
+          -Wnested-externs -Winline
+-OPTIMIZE=-O3 -fno-strength-reduce
+-CFLAGS=$(WARNINGS) $(OPTIMIZE)
+-LDFLAGS=
+ 
+ sources=getopt.c
+ ifeq ($(LIBCGETOPT),0)


More information about the svn-ports-head mailing list