summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2005-05-01 12:05:03 +0000
committerkrion <krion@FreeBSD.org>2005-05-01 12:05:03 +0000
commitb4a98bfec08f5f213756b1f2e0388f1ba1142eac (patch)
treebf50d2d79773ebc1cd37951c87cab6172e44a688 /x11
parent3386adc8fb83e01573563e7e7cd10dc0ee618d83 (diff)
downloadFreeBSD-ports-b4a98bfec08f5f213756b1f2e0388f1ba1142eac.zip
FreeBSD-ports-b4a98bfec08f5f213756b1f2e0388f1ba1142eac.tar.gz
Fix build.
Diffstat (limited to 'x11')
-rw-r--r--x11/gromit/Makefile6
-rw-r--r--x11/gromit/files/patch-Makefile15
-rw-r--r--x11/gromit/pkg-plist1
3 files changed, 9 insertions, 13 deletions
diff --git a/x11/gromit/Makefile b/x11/gromit/Makefile
index 5e420ff..3c820c4 100644
--- a/x11/gromit/Makefile
+++ b/x11/gromit/Makefile
@@ -19,16 +19,10 @@ USE_GNOME= gtk20
DOCS= AUTHORS ChangeLog README
-post-extract:
- @${REINPLACE_CMD} -e 's|gcc|$${CC}|' \
- -e 's|`gtk-config|$${CFLAGS} `pkg-config gtk\+-2.0|' \
- ${WRKSRC}/Makefile
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gromit ${PREFIX}/bin
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/gromitrc ${EXAMPLESDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/sawfish-config ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
diff --git a/x11/gromit/files/patch-Makefile b/x11/gromit/files/patch-Makefile
index c3658a5..0f41bed 100644
--- a/x11/gromit/files/patch-Makefile
+++ b/x11/gromit/files/patch-Makefile
@@ -1,8 +1,11 @@
---- Makefile.orig Mon Mar 3 18:45:09 2003
-+++ Makefile Mon Mar 3 18:45:27 2003
-@@ -1,4 +1,4 @@
- all: gromit
+
+$FreeBSD$
+
+--- Makefile.orig
++++ Makefile
+@@ -7,4 +7,4 @@
+ gcc -o propertywatch propertywatch.c `gtk-config --libs --cflags`
gromit: gromit.c Makefile
-- gcc -o gromit gromit.c -Wall `gtk-config --libs --cflags`
-+ ${CC} -o gromit gromit.c ${CFLAGS} `${GTK_CONFIG} --libs --cflags`
+- gcc -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -o gromit gromit.c -Wall `pkg-config --libs --cflags gtk+-2.0`
++ ${CC} -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -o gromit gromit.c ${CFLAGS} `pkg-config --libs --cflags gtk+-2.0`
diff --git a/x11/gromit/pkg-plist b/x11/gromit/pkg-plist
index 7295bdee..0dd5ffa 100644
--- a/x11/gromit/pkg-plist
+++ b/x11/gromit/pkg-plist
@@ -1,6 +1,5 @@
bin/gromit
%%EXAMPLESDIR%%/gromitrc
-%%EXAMPLESDIR%%/sawfish-config
@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
OpenPOWER on IntegriCloud