Fix build with clang
This commit is contained in:
parent
0e8e0bf651
commit
334047646a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=326527
2 changed files with 4 additions and 7 deletions
|
@ -1,9 +1,5 @@
|
|||
# New ports collection makefile for: deskmenu
|
||||
# Date created: 17 February 2002
|
||||
# Whom: Matt Peterson <matt@peterson.org>
|
||||
#
|
||||
# Created by: Matt Peterson <matt@peterson.org>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= deskmenu
|
||||
PORTVERSION= 1.3.0
|
||||
|
@ -16,8 +12,9 @@ MAINTAINER= matt@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
|
||||
|
|
|
@ -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`
|
||||
|
|
Loading…
Reference in a new issue