diff options
author | sem <sem@FreeBSD.org> | 2005-09-27 15:55:17 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2005-09-27 15:55:17 +0800 |
commit | d2d4836fb8a71e58085e2f0a0c4bdef7c44914d0 (patch) | |
tree | 4b2168384f614b519574437cdbd8b62eba9c1774 /ftp/ftpproxy | |
parent | 61d97821e285d5c94f318fad2edc07405f36fd4c (diff) | |
download | freebsd-ports-gnome-d2d4836fb8a71e58085e2f0a0c4bdef7c44914d0.tar.gz freebsd-ports-gnome-d2d4836fb8a71e58085e2f0a0c4bdef7c44914d0.tar.zst freebsd-ports-gnome-d2d4836fb8a71e58085e2f0a0c4bdef7c44914d0.zip |
- Fix a wrong usage of CFLAGS in last update
(the port does not build if CFLAGS defined in /etc/make.conf)
PR: ports/86616
Reported by: TANABE Hiroyasu <h@cosat.com>
Submitted by: Andrej Zverev <az@inec.ru>
Approved by: broken build
Diffstat (limited to 'ftp/ftpproxy')
-rw-r--r-- | ftp/ftpproxy/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ftp/ftpproxy/Makefile b/ftp/ftpproxy/Makefile index e50576357e94..e724dc989603 100644 --- a/ftp/ftpproxy/Makefile +++ b/ftp/ftpproxy/Makefile @@ -7,6 +7,7 @@ PORTNAME= ftpproxy PORTVERSION= 1.2.3 +PORTREVISION= 1 CATEGORIES= ftp MASTER_SITES= http://www.ftpproxy.org/download/ \ http://www.ftpproxy.org/download/older_releases/ @@ -17,14 +18,14 @@ COMMENT= A ftp proxy USE_REINPLACE= yes USE_GMAKE= yes -CFLAGS +=-DVERSION=\\\"${PORTVERSION}\\\" MAN1= ftp.proxy.1 MANCOMPRESSED= no PLIST_FILES= sbin/ftp.proxy pre-build: - @${REINPLACE_CMD} -e 's|^CFLAGS|#CFLAGS|' ${WRKSRC}/src/Makefile + @${REINPLACE_CMD} -e 's|^CFLAGS.*|CFLAGS=${CFLAGS} \ + -DVERSION=\\"${PORTVERSION}\\"|' ${WRKSRC}/src/Makefile do-install: @${INSTALL_PROGRAM} ${WRKSRC}/src/ftp.proxy ${PREFIX}/sbin |