aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/landscape
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2001-09-11 22:53:54 +0800
committersf <sf@FreeBSD.org>2001-09-11 22:53:54 +0800
commit850e2f64dff5e63ad8e79948e61a6d5c2ccfea19 (patch)
treeca46f71295670189708ee7ffa4e90f60482c17c1 /graphics/landscape
parenta9fd0b2740fc2555916ee9b9898e62c0bb9b2e67 (diff)
downloadfreebsd-ports-gnome-850e2f64dff5e63ad8e79948e61a6d5c2ccfea19.tar.gz
freebsd-ports-gnome-850e2f64dff5e63ad8e79948e61a6d5c2ccfea19.tar.zst
freebsd-ports-gnome-850e2f64dff5e63ad8e79948e61a6d5c2ccfea19.zip
sync with devel/pth:
- use pthread-config to detect pth/pthread parts. replace hardcoded path with ${X11BASE} and ${LOCALBASE}. Non-response from: maintainer.
Diffstat (limited to 'graphics/landscape')
-rw-r--r--graphics/landscape/Makefile5
-rw-r--r--graphics/landscape/files/patch-aa19
2 files changed, 24 insertions, 0 deletions
diff --git a/graphics/landscape/Makefile b/graphics/landscape/Makefile
index 84460a7bd21f..1d012107f580 100644
--- a/graphics/landscape/Makefile
+++ b/graphics/landscape/Makefile
@@ -18,6 +18,11 @@ LIB_DEPENDS= pth.14:${PORTSDIR}/devel/pth
USE_MESA= yes
USE_KDELIBS_VER= 2
+post-patch:
+ ${PERL} -pi.orig -e \
+ 's,/usr/local,${LOCALBASE},g; \
+ s,/usr/X11R6,${X11BASE},g' ${WRKSRC}/makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/landscape ${PREFIX}/bin
diff --git a/graphics/landscape/files/patch-aa b/graphics/landscape/files/patch-aa
new file mode 100644
index 000000000000..a36bdf4f95eb
--- /dev/null
+++ b/graphics/landscape/files/patch-aa
@@ -0,0 +1,19 @@
+--- makefile.orig Fri Jun 8 03:52:18 2001
++++ makefile Tue Sep 4 08:28:49 2001
+@@ -7,13 +7,13 @@
+ ARCH = freebsd
+ #ARCH = solaris
+
+-INCLUDEPATH.freebsd = -I/usr/local/include/ -I. -Iutil -Iprefs -Irenderer \
++INCLUDEPATH.freebsd = `pthread-config --cflags` -I/usr/local/include/ -I. -Iutil -Iprefs -Irenderer \
+ -Iwindows -Iwindows/unix -Ifractal -Itexture -Imain/unix -Imath \
+ -I/usr/X11R6/include/qt2 -I/usr/X11R6/include
+ INCLUDEPATH.solaris = -I. -I/usr/local/include/qt2
+-LIBRARYPATH = -L/usr/local/lib -L/usr/X11R6/lib -L/usr/compat/linux/lib/
++LIBRARYPATH = `pthread-config --ldflags` -L/usr/local/lib -L/usr/X11R6/lib
+
+-CC = gcc
++#CC = gcc
+ CPP = gcc
+ RM = rm -f
+ MOC = moc2