ports/186579: Fix for building graphics/picpuz on FreeBSD-11.X
Stas Timokhin
devel at stasyan.com
Sun Feb 9 06:40:00 UTC 2014
>Number: 186579
>Category: ports
>Synopsis: Fix for building graphics/picpuz on FreeBSD-11.X
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 09 06:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Stas Timokhin
>Release: 11-Current
>Organization:
None
>Environment:
FreeBSD 11.0-CURRENT #0 r260187M
>Description:
Fix for building graphics/picpuz where gss is not installed.
>How-To-Repeat:
http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-02-06_22h28m10s/logs/picpuz-2.1.1_5.log
>Fix:
Patch attached with submission follows:
--- files/patch-Makefile.orig 2014-02-09 13:27:50.000000000 +0700
+++ files/patch-Makefile 2014-02-09 13:29:24.000000000 +0700
@@ -1,5 +1,5 @@
--- Makefile.orig 2009-10-29 14:38:40.000000000 +0600
-+++ Makefile 2010-01-04 19:55:10.000000000 +0600
++++ Makefile 2014-02-09 13:29:16.000000000 +0700
@@ -6,7 +6,7 @@
# replace CFLAGS and LFLAGS -O (oh) with -g for GDB debugging
@@ -9,6 +9,24 @@
# use $PREFIX if defined, else assume /usr/local
ifeq "$(PREFIX)" ""
+@@ -19,14 +19,14 @@
+ DESKTOP = $(DATADIR)/kornelix-$(PROGRAM).desktop
+
+ $(PROGRAM): $(PROGRAM).o zfuncs.o
+- @ g++ $(LFLAGS) -o $(PROGRAM) $(PROGRAM).o zfuncs.o
++ @ ${CXX} $(LFLAGS) -o $(PROGRAM) $(PROGRAM).o zfuncs.o
+
+ $(PROGRAM).o: $(SOURCE) zfuncs.h
+- @ g++ $(CFLAGS) -o $(PROGRAM).o $(SOURCE) \
++ @ ${CXX} $(CFLAGS) -o $(PROGRAM).o $(SOURCE) \
+ -D "DATADIR=\"$(DATADIR)\"" -D "DOCDIR=\"$(DOCDIR)\""
+
+ zfuncs.o: zfuncs.cpp zfuncs.h
+- @ g++ $(CFLAGS) zfuncs.cpp \
++ @ ${CXX} $(CFLAGS) zfuncs.cpp \
+ -D "DATADIR=\"$(DATADIR)\"" -D "DOCDIR=\"$(DOCDIR)\"" -D "BINDIR=\"$(BINDIR)\""
+
+ install: $(PROGRAM)
@@ -39,15 +39,16 @@
cp $(PROGRAM) $(DESTDIR)$(BINDIR)
cp -R locales/* $(DESTDIR)$(DATADIR)/locales
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list