svn commit: r326527 - in head/x11/deskmenu: . files
Baptiste Daroussin
bapt at FreeBSD.org
Fri Sep 6 17:07:01 UTC 2013
Author: bapt
Date: Fri Sep 6 17:07:00 2013
New Revision: 326527
URL: http://svnweb.freebsd.org/changeset/ports/326527
Log:
Fix build with clang
Modified:
head/x11/deskmenu/Makefile
head/x11/deskmenu/files/patch-Makefile
Modified: head/x11/deskmenu/Makefile
==============================================================================
--- head/x11/deskmenu/Makefile Fri Sep 6 17:02:34 2013 (r326526)
+++ head/x11/deskmenu/Makefile Fri Sep 6 17:07:00 2013 (r326527)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: deskmenu
-# Date created: 17 February 2002
-# Whom: Matt Peterson <matt at peterson.org>
-#
+# Created by: Matt Peterson <matt at peterson.org>
# $FreeBSD$
-#
PORTNAME= deskmenu
PORTVERSION= 1.3.0
@@ -16,8 +12,9 @@ MAINTAINER= matt at peterson.org
COMMENT= X11 application launcher
PLIST_FILES= bin/deskmenu
+USES= gmake
USE_GNOME= gtk12
-USE_GMAKE= yes
+USE_CSTD= gnu89
post-install:
${STRIP_CMD} ${PREFIX}/bin/deskmenu
Modified: head/x11/deskmenu/files/patch-Makefile
==============================================================================
--- head/x11/deskmenu/files/patch-Makefile Fri Sep 6 17:02:34 2013 (r326526)
+++ head/x11/deskmenu/files/patch-Makefile Fri Sep 6 17:07:00 2013 (r326527)
@@ -4,7 +4,7 @@
-CC = gcc
-CFLAGS = -g -O2 -Wall `gtk-config --cflags`
-XROOT = /usr/X11
-+CFLAGS = -g -O2 -Wall `gtk12-config --cflags`
++CFLAGS += -g -O2 -Wall `gtk12-config --cflags`
+XROOT = ${LOCALBASE}
INCLUDES = -I$(XROOT)/include
-LIBS = -lX11 `gtk-config --libs`
More information about the svn-ports-all
mailing list