mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
USE_GETOPT_LONG[1]
Remove a duplicate PORTREVISION PR: 51857[1] Submitted by: KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
parent
991ad65800
commit
8e2ff6ca60
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80367
@ -36,11 +36,11 @@ HACKDOCSDIR?= share/doc/${HACKNAME}
|
||||
.if defined(WITH_GNOME_GRAPHICS)
|
||||
CATEGORIES= games gnome
|
||||
PKGNAMESUFFIX= -gnome
|
||||
LIB_DEPENDS+= gnugetopt:${PORTSDIR}/devel/libgnugetopt
|
||||
USE_GNOME= yes
|
||||
USE_GETOPT_LONG= yes
|
||||
USE_GNOME= gnomelibs
|
||||
MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
GRAPHICS= GNOME_GRAPHICS
|
||||
.elif defined(WITH_QT_GRAPHICS)
|
||||
PORTREVISION= 1
|
||||
PKGNAMESUFFIX= -qt
|
||||
USE_QT_VER= 3
|
||||
MAKE_ENV+= QTCPPFLAGS="${QTCPPFLAGS} ${PTHREAD_CFLAGS}" \
|
||||
|
@ -17,7 +17,7 @@
|
||||
+CFLAGS += -DQT_GRAPHICS
|
||||
+endif
|
||||
+ifeq ("$(GRAPHICS)","GNOME_GRAPHICS")
|
||||
+CFLAGS += -DGNOME_GRAPHICS
|
||||
+CFLAGS += -DGNOME_GRAPHICS ${CPPFLAGS}
|
||||
+endif
|
||||
|
||||
-CFLAGS = -O -I../include
|
||||
@ -79,7 +79,7 @@
|
||||
#
|
||||
# libraries for Gnome
|
||||
-WINGNOMELIB = -lgnomeui -lgnome -lart_lgpl -lgtk -lgdk -lpopt
|
||||
+WINGNOMELIB = $(shell ${GNOME_CONFIG} --libs gnomeui) -lgnugetopt
|
||||
+WINGNOMELIB = $(shell ${GNOME_CONFIG} --libs gnomeui) ${LDFLAGS}
|
||||
#
|
||||
# libraries for Gem port
|
||||
WINGEMLIB = -le_gem -lgem
|
||||
|
Loading…
Reference in New Issue
Block a user