diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-08-04 13:44:29 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-08-04 13:44:29 +0800 |
commit | 0002fe830b6e0c367cebb867a6cd8fde159d6967 (patch) | |
tree | 1d3ac880e6c542fa2a3b729c33e7039df99106dc /news | |
parent | 90a75efbc66d8d27f87b4cc0069a48e6f23caa4b (diff) | |
download | freebsd-ports-gnome-0002fe830b6e0c367cebb867a6cd8fde159d6967.tar.gz freebsd-ports-gnome-0002fe830b6e0c367cebb867a6cd8fde159d6967.tar.zst freebsd-ports-gnome-0002fe830b6e0c367cebb867a6cd8fde159d6967.zip |
- use gcc32 on CURRENT
- honors CC and CFLAGS
- option IFMAIL_RUNAS optimized
- bump PORTREVISION
Diffstat (limited to 'news')
-rw-r--r-- | news/ifmail/Makefile | 17 | ||||
-rw-r--r-- | news/ifmail/pkg-plist | 4 |
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 |