aboutsummaryrefslogtreecommitdiff
path: root/games/wmpuzzle/Makefile
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2003-05-02 08:12:31 +0000
committerEric Anholt <anholt@FreeBSD.org>2003-05-02 08:12:31 +0000
commite49a739b3e3422133dedc13215a113c350344254 (patch)
tree22e84a61277764e2f2f82bcd367146e37d148964 /games/wmpuzzle/Makefile
parentbe58583f7b649e27f1509d8cc4e4f079ee255e50 (diff)
downloadports-e49a739b3e3422133dedc13215a113c350344254.tar.gz
ports-e49a739b3e3422133dedc13215a113c350344254.zip
Utilize USE_GETOPT_LONG
PR: ports/51370 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=80004
Diffstat (limited to 'games/wmpuzzle/Makefile')
-rw-r--r--games/wmpuzzle/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/games/wmpuzzle/Makefile b/games/wmpuzzle/Makefile
index b55bce17e557..d6c6d8b8f12a 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}/