diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2003-05-13 04:07:06 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2003-05-13 04:07:06 +0000 |
commit | e3ccb88664caee08baade6f66646a33689a3fad1 (patch) | |
tree | ff4e72211cb9102c76e3a007286b0df6b7e41cd7 /x11-clocks/wmfuzzy/Makefile | |
parent | PR: 48458 (diff) |
This program only needs the getopt() from unistd.h, not
the full-blown thingy from libgnugetopt. Yank the
LIB_DEPEND and add a REINPLACE.
PR: 52143
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes:
svn path=/head/; revision=80880
Diffstat (limited to '')
-rw-r--r-- | x11-clocks/wmfuzzy/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/x11-clocks/wmfuzzy/Makefile b/x11-clocks/wmfuzzy/Makefile index 1b3f6f45d282..da1ac1360665 100644 --- a/x11-clocks/wmfuzzy/Makefile +++ b/x11-clocks/wmfuzzy/Makefile @@ -14,11 +14,15 @@ EXTRACT_SUFX= .tgz MAINTAINER= adamw@FreeBSD.org COMMENT= A fuzzy clock WindowMaker dockapp -LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt - WRKSRC= ${WRKDIR}/${DISTNAME}/src + USE_X_PREFIX= yes USE_XPM= yes +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e 's|<getopt\.h>|<unistd.h>|g'\ + ${WRKSRC}/wmfuzzy.c do-install: @${INSTALL_PROGRAM} ${WRKSRC}/wmfuzzy ${PREFIX}/bin |