summaryrefslogtreecommitdiffstats
path: root/games/wmpuzzle
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2003-05-02 08:12:31 +0000
committeranholt <anholt@FreeBSD.org>2003-05-02 08:12:31 +0000
commit01e6671e37bbf075ee6758cdcfa9b63975d981f5 (patch)
treebfe56ed95f065ef8bc02e32465ea82c66800ab9e /games/wmpuzzle
parent74aaa9faf6a68e3eaba1438f071e2afba2d6988d (diff)
downloadFreeBSD-ports-01e6671e37bbf075ee6758cdcfa9b63975d981f5.zip
FreeBSD-ports-01e6671e37bbf075ee6758cdcfa9b63975d981f5.tar.gz
Utilize USE_GETOPT_LONG
PR: ports/51370 Submitted by: Ports Fury
Diffstat (limited to 'games/wmpuzzle')
-rw-r--r--games/wmpuzzle/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/games/wmpuzzle/Makefile b/games/wmpuzzle/Makefile
index b55bce1..d6c6d8b 100644
--- a/games/wmpuzzle/Makefile
+++ b/games/wmpuzzle/Makefile
@@ -23,6 +23,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
USE_X_PREFIX= yes
USE_XPM= yes
+USE_GETOPT_LONG= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@@ -35,12 +36,6 @@ BSDIMAGES= daemon.xpm
CPPFLAGS= -I${X11BASE}/include
LDFLAGS= -L${X11BASE}/lib
-.if !exists(/usr/include/getopt.h)
-LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt
-.endif
-
post-extract:
.for i in ${BSDIMAGES}
${CP} ${DISTDIR}/${DIST_SUBDIR}/${i} ${WRKSRC}/
OpenPOWER on IntegriCloud