ports/89936: [maintainer-update] Fix mbone/mcl build with non-standard LOCALBASE
"Panagiotis Astithas" <Panagiotis Astithas
past at ebs.gr
Sun Dec 4 14:10:18 UTC 2005
>Number: 89936
>Category: ports
>Synopsis: [maintainer-update] Fix mbone/mcl build with non-standard LOCALBASE
>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 Dec 04 14:10:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Panagiotis Astithas
>Release: FreeBSD 6.0-STABLE i386
>Organization:
EBS Ltd.
>Environment:
System: FreeBSD 6.0-STABLE #3: Wed Nov 30 21:46:24 EET 2005
past at ajax.ebs.gr:/usr/obj/usr/src/sys/AJAX
>Description:
This patch makes mbone/mcl build fine with non-standard $LOCALBASE.
>How-To-Repeat:
# cd /usr/ports/mbone/mcl
# make clean; make package PREFIX=/var/tmp/mcl
>Fix:
--- mcl.patch begins here ---
diff -ruN /usr/ports/mbone/mcl/files/patch-Makefile.common mcl/files/patch-Makefile.common
--- /usr/ports/mbone/mcl/files/patch-Makefile.common Fri Jan 9 02:12:51 2004
+++ mcl/files/patch-Makefile.common Sun Dec 4 15:19:58 2005
@@ -22,7 +22,7 @@
LD = /opt/SUNWspro/bin/CC
+endif
+ifeq (${OS},freebsd)
-+ OSFLAGS = -DFREEBSD -I/usr/include/g++ -I/usr/include/c++/3.3
++ OSFLAGS = -DFREEBSD -I${PREFIX}/g++ -I${PREFIX}/c++/3.3
+ # Which compiler?
+ # NB: use -Wall for compilation warnings with gcc
+ #
diff -ruN /usr/ports/mbone/mcl/files/patch-flute-Makefile mcl/files/patch-flute-Makefile
--- /usr/ports/mbone/mcl/files/patch-flute-Makefile Fri Jan 9 02:12:51 2004
+++ mcl/files/patch-flute-Makefile Sun Dec 4 15:25:17 2005
@@ -11,9 +11,9 @@
+ #
+ BINDIR = ../bin/freebsd
+ LDPC_BINDIR = ../../ldpc/bin/freebsd
-+ LIBRARIES = -lm -pthread -lglib-2.0 -lgdome -lxml2 -L/usr/local/lib
++ LIBRARIES = -lm -pthread -lglib-2.0 -lgdome -lxml2 -L${PREFIX}/lib
+ # added -I/usr/local/include for libgdome header files
-+ ADD_INCLUDES = -I/usr/local/include/ -I/usr/local/include/glib-2.0/ -I/usr/local/include/libgdome/
++ ADD_INCLUDES = -I${PREFIX}/include/ -I${PREFIX}/include/glib-2.0/ -I${PREFIX}/include/libgdome/
+endif
+
--- mcl.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list