diff options
author | pat <pat@FreeBSD.org> | 2002-02-02 12:09:27 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-02-02 12:09:27 +0800 |
commit | 5ff953cfed686ad255150963bcc2bebd4b389642 (patch) | |
tree | ce0b8fe6aef75bf42a3e932e9afed8e88c77d73f /security/cyrus-sasl2/Makefile | |
parent | 771e9c50817511b68f1a06c0c1166c3428408e95 (diff) | |
download | freebsd-ports-gnome-5ff953cfed686ad255150963bcc2bebd4b389642.tar.gz freebsd-ports-gnome-5ff953cfed686ad255150963bcc2bebd4b389642.tar.zst freebsd-ports-gnome-5ff953cfed686ad255150963bcc2bebd4b389642.zip |
Fix plist and dont use -w flag with fmt on older releases.
PR: 34541
Submitted by: maintainer
Diffstat (limited to 'security/cyrus-sasl2/Makefile')
-rw-r--r-- | security/cyrus-sasl2/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile index 4e8d235a9e6e..adb455403062 100644 --- a/security/cyrus-sasl2/Makefile +++ b/security/cyrus-sasl2/Makefile @@ -68,7 +68,6 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ WITH_LDAP1="${WITH_LDAP1}" \ WITH_LDAP2="${WITH_LDAP2}" -# JavaSASL needs someone to look at to get it to build JAVADIR= jdk1.3.1 JAVALIBDIR= ${PREFIX}/${JAVADIR}/lib/i386/green_threads/ @@ -105,6 +104,14 @@ PKGDEINSTALL= ${WRKDIR}/pkg-deinstall PKGINSTALL= ${WRKDIR}/pkg-install PKGMESSAGE= ${WRKDIR}/pkg-message +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 450000 +FMT= /usr/bin/fmt +.else +FMT= /usr/bin/fmt -w 67 +.endif + pre-fetch: @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.sasl @@ -129,7 +136,7 @@ post-patch: -e "s;%%PREFIX%%;${PREFIX};g" \ ${.CURDIR}/pkg-message > ${PKGMESSAGE} .ifdef LDAP_MYSQL_MSG - @${ECHO_CMD} ${LDAP_MYSQL_MSG} | /usr/bin/fmt -w 67 >> ${PKGMESSAGE} + @${ECHO_CMD} ${LDAP_MYSQL_MSG} | ${FMT} >> ${PKGMESSAGE} @${ECHO_CMD} >> ${PKGMESSAGE} .endif @@ -167,4 +174,4 @@ post-clean: #include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc" #endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |