diff options
author | nork <nork@FreeBSD.org> | 2003-10-09 10:16:44 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2003-10-09 10:16:44 +0800 |
commit | 0f6d6fbc2e9d913a1ea8874d61e54beccf8a1dbd (patch) | |
tree | 4fb39542f3ff648d97b026a7c8edda8f384e237f /japanese/samba/Makefile | |
parent | 85e4ec2ba5d73cf43fb2d7d3225fd68f7dc55de8 (diff) | |
download | freebsd-ports-gnome-0f6d6fbc2e9d913a1ea8874d61e54beccf8a1dbd.tar.gz freebsd-ports-gnome-0f6d6fbc2e9d913a1ea8874d61e54beccf8a1dbd.tar.zst freebsd-ports-gnome-0f6d6fbc2e9d913a1ea8874d61e54beccf8a1dbd.zip |
Fix build error with WITH_CUPS and gettext(3).
PR: ports-jp/14220
Reported by: Hata <hata@maizuru-ct.ac.jp>
Submitted by: NAKAJI Hiroyuki <nakaji@jp.FreeBSD.org> (maintainer)
Diffstat (limited to 'japanese/samba/Makefile')
-rw-r--r-- | japanese/samba/Makefile | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/japanese/samba/Makefile b/japanese/samba/Makefile index da5325e5f6b1..2b1e303def65 100644 --- a/japanese/samba/Makefile +++ b/japanese/samba/Makefile @@ -7,7 +7,7 @@ PORTNAME= samba PORTVERSION= ${SAMBA_VERSION}.j${SAMBA_JA_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= japanese net MASTER_SITES= ftp://ftp.samba.gr.jp/pub/samba-jp/%SUBDIR%/ \ ftp://ftp.iij.ad.jp/pub/SAMBA/samba-jp/%SUBDIR%/ \ @@ -25,6 +25,7 @@ SAMBA_JA_VERSION= 1.1 USE_BZIP2= yes GNU_CONFIGURE= yes +USE_AUTOCONF_VER= 253 # directories .if !defined(BATCH) && !defined(PACKAGE_BUILDING) @@ -78,14 +79,11 @@ CONFIGURE_ARGS= --with-i18n-swat \ --with-logfilebase=${SAMBA_LOGDIR} \ --with-privatedir=${SAMBA_PRIVATE} \ --with-piddir=${VARDIR}/run \ - --with-pam --with-pam_smbpass + --with-pam --with-pam_smbpass \ + --with-included-popt .include <bsd.port.pre.mk> -CONFIGURE_ENV+= TESTDIR=/tmp \ - CPPFLAGS=-I${LOCALBASE}/include \ - LDFLAGS=-L${LOCALBASE}/lib - .if defined(WITH_SYSLOG) CONFIGURE_ARGS+= --with-syslog .endif @@ -138,6 +136,7 @@ post-clean: @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc .if defined(WITH_CUPS) +#BROKEN= "CUPS support depends on the latest version of gettext whose msgfmt cannot build language catalogs for SWAT" LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \ LDFLAGS=-L${LOCALBASE}/lib @@ -183,9 +182,9 @@ PLIST_SUB= AUDIT=${AUDIT} \ post-patch: ${FIND} ${WRKSRC}/.. -name '*.orig' -delete -#pre-build: -# ${RM} -fr ${WRKSRC}/include/proto.h -# (cd ${WRKSRC} && make proto) +pre-build: + ${RM} -fr ${WRKSRC}/include/proto.h + (cd ${WRKSRC} && make proto) post-build: ${SED} 's:/usr/local:${PREFIX}:g' ${FILESDIR}/samba.sh.sample \ |