aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/qtutils
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2003-05-19 00:03:16 +0800
committerpetef <petef@FreeBSD.org>2003-05-19 00:03:16 +0800
commit54b4063cec319dac240785ffe33fcd1f5b6ca137 (patch)
tree8f9ac94e89713c171cc8e976c28e5ff81427f733 /graphics/qtutils
parent0fedbb493ef2525e061daf8022932e02fafe1aa0 (diff)
downloadfreebsd-ports-gnome-54b4063cec319dac240785ffe33fcd1f5b6ca137.tar.gz
freebsd-ports-gnome-54b4063cec319dac240785ffe33fcd1f5b6ca137.tar.zst
freebsd-ports-gnome-54b4063cec319dac240785ffe33fcd1f5b6ca137.zip
Use USE_GETOPT_LONG.
PR: 51387, 51383, 51380, 51388, 51384, 51372, 51373, 51381, 51382 Submitted by: Ports Fury
Diffstat (limited to 'graphics/qtutils')
-rw-r--r--graphics/qtutils/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/graphics/qtutils/Makefile b/graphics/qtutils/Makefile
index ebdff61c3a84..e388d71a4a8e 100644
--- a/graphics/qtutils/Makefile
+++ b/graphics/qtutils/Makefile
@@ -21,6 +21,7 @@ LIB_DEPENDS= vorbis.2:${PORTSDIR}/audio/libvorbis \
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GNOME= glib12
+USE_GETOPT_LONG= yes
USE_REINPLACE= yes
USE_LIBTOOL= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@@ -31,11 +32,6 @@ MAN1= qtconv.1 qtsg.1 qtsplit.1
CPPFLAGS= -I${LOCALBASE}/include `${GLIB_CONFIG} --cflags gthread`
LDFLAGS= -L${LOCALBASE}/lib `${GLIB_CONFIG} --libs gthread`
-.if !exists(/usr/include/getopt.h)
-LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
-LDFLAGS+= -lgnugetopt
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|-g -Wall|@CFLAGS@|g ; \
s|-lglib||g ; \