summaryrefslogtreecommitdiff
path: root/japanese/samba/Makefile
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-10-09 02:16:44 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-10-09 02:16:44 +0000
commitc27ce9b48e0af1edab035ea49c6895a64bbd196b (patch)
tree828a1a43a24eed3b9a7631691289eacb0c4abf46 /japanese/samba/Makefile
parentUpdate to 1.3.9. (diff)
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)
Notes
Notes: svn path=/head/; revision=90679
Diffstat (limited to '')
-rw-r--r--japanese/samba/Makefile17
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 \