summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-08-04 05:44:29 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-08-04 05:44:29 +0000
commit3d0aa6b7c8fe38dd4cb469d028269f59eb9923d4 (patch)
tree523b9d1f84b47fd0f096b953bccdc6b3d7edd5c1 /news
parentUpdate to version 3.2.1. (diff)
- use gcc32 on CURRENT
- honors CC and CFLAGS - option IFMAIL_RUNAS optimized - bump PORTREVISION
Notes
Notes: svn path=/head/; revision=86257
Diffstat (limited to 'news')
-rw-r--r--news/ifmail/Makefile17
-rw-r--r--news/ifmail/pkg-plist4
2 files changed, 12 insertions, 9 deletions
diff --git a/news/ifmail/Makefile b/news/ifmail/Makefile
index 9d76753b945f..8c7cf56a0b5d 100644
--- a/news/ifmail/Makefile
+++ b/news/ifmail/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ifmail
PORTVERSION= 2.15
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= news
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= system/fido
@@ -17,19 +17,19 @@ COMMENT= FidoNet(tm) support package for UN*X platform
MAN3= parsedate.3
MAN8= ifmail.8 iftoss.8
+IFMAIL_RUNAS?= ifmail
+PLIST_SUB+= IFMAIL_RUNAS="${IFMAIL_RUNAS}"
-.if defined(IFMAIL_RUNAS)
pre-configure:
@${MV} ${WRKSRC}/CONFIG ${WRKSRC}/CONFIG.sed
${SED} -e "s/OWNER = ifmail/OWNER = ${IFMAIL_RUNAS}/" \
+ -e "s#CC = gcc#CC = ${CC}#" \
+ -e "s#-O2 -Wall#${CFLAGS} -Wall#" \
${WRKSRC}/CONFIG.sed > ${WRKSRC}/CONFIG
-.endif
pre-install:
-.if !defined(IFMAIL_RUNAS)
- if ! pw usershow ifmail; then pw useradd ifmail -g uucp -u 75 \
+ if ! pw usershow ${IFMAIL_RUNAS}; then pw useradd ${IFMAIL_RUNAS} -g uucp -u 75 \
-h - -d /nonexistent -s /nonexistent -c "Ifmail Server"; fi
-.endif
${MKDIR} ${PREFIX}/libexec/ifmail
post-install:
@@ -57,7 +57,10 @@ post-install:
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 501101
-BROKEN= gcc33 does not support varargs.h
+CC= gcc32
+CXX= g++32
+BUILD_DEPENDS+= gcc32:${PORTSDIR}/${GCC32_PORT}
+GCC32_PORT?= lang/gcc32
.endif
.include <bsd.port.post.mk>
diff --git a/news/ifmail/pkg-plist b/news/ifmail/pkg-plist
index ea2200d8954e..cbfe766edc29 100644
--- a/news/ifmail/pkg-plist
+++ b/news/ifmail/pkg-plist
@@ -1,5 +1,5 @@
-@exec if ! pw usershow ifmail 2>/dev/null; then pw useradd ifmail -g uucp -u 75 -h - -d /nonexistent -s /nonexistent -c "Ifmail Server"; fi
-@unexec if pw usershow ifmail | grep -q 75:66; then pw userdel ifmail; fi
+@exec if ! pw usershow %%IFMAIL_RUNAS%% 2>/dev/null; then pw useradd %%IFMAIL_RUNAS%% -g uucp -u 75 -h - -d /nonexistent -s /nonexistent -c "Ifmail Server"; fi
+@unexec if pw usershow %%IFMAIL_RUNAS%% | grep -q 75:66; then pw userdel %%IFMAIL_RUNAS%%; fi
@owner ifmail
@group uucp
libexec/ifmail/ifcico