1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/graphics/fotoxx/files/patch-Makefile
Matthias Andree 92500c08eb Unbreak and upgrade to new upstream release 14.02.2.
Based on a patch to upgrade to 14.01.1 by Rainer Hurling,
based on a patch to upgrade to 13.03.1 by Rod Person.

Rainer's changes:
- new mastersite; 2nd mastersites contents has to be updated
- unbreak the port
- modernize LIB_DEPENDS
- support STAGE_DIR
- strip bin/fotoxx
- correct usage of desktop-file-utils
- update URL in pkg-descr
- update pkg-plist

Committer's changes:
- work around fetch(1)/nginx incompatibility making fetch commands with
  unmerged fix r261263 (and ancestors) unable to fetch from the primary
  site.
- add USES=pkgconfig
- add mirror sites
- fix installation of manfile
- fix paths in desktop file
- stop using xdg-desktop-menu for now, breaks the build and does not
  appear to be required

PR:		ports/177643
Submitted by:	Rod Person, Rainer Hurling
2014-02-07 01:01:37 +00:00

16 lines
414 B
Plaintext

--- ./Makefile.orig 2014-02-05 20:42:34.000000000 +0100
+++ ./Makefile 2014-02-06 10:32:37.000000000 +0100
@@ -3,9 +3,9 @@
FOTOXX = fotoxx-14.02.2.cc
# defaults for parameters that may be pre-defined
-CXXFLAGS ?= -O2 -Wall -ggdb
-LDFLAGS ?= -rdynamic
-PREFIX ?= /usr
+CXXFLAGS ?= -O3 -g -Wall
+LDFLAGS ?= -O3 -g -Wall -rdynamic
+PREFIX ?= $(LOCALBASE)
# target install directories
BINDIR = $(PREFIX)/bin