summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authortoshii <toshii@pkgsrc.org>2000-09-27 08:34:25 +0000
committertoshii <toshii@pkgsrc.org>2000-09-27 08:34:25 +0000
commitdd2fdb678d18f20a752f1c9f196863278d8afc9e (patch)
treef5a7d04633e654ee045c0b0160122274eeb6727a /mail
parent506596d4394f6f8c117d60b77baab4586b31e903 (diff)
downloadpkgsrc-dd2fdb678d18f20a752f1c9f196863278d8afc9e.tar.gz
Make this build under Solaris.
(Oops, I missed to commit this file.)
Diffstat (limited to 'mail')
-rw-r--r--mail/imap-uw/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile
index 26570b18b43..d066d7a6981 100644
--- a/mail/imap-uw/Makefile
+++ b/mail/imap-uw/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2000/09/19 13:13:29 hubertf Exp $
+# $NetBSD: Makefile,v 1.15 2000/09/27 08:34:25 toshii Exp $
#
DISTNAME= imap-2000.RELEASE-CANDIDATE.6
@@ -18,6 +18,14 @@ INST_PROG= ${LIBTOOL} ${INSTALL_PROGRAM}
INST_LIB= ${LIBTOOL} ${INSTALL_DATA}
DOC_DIR= ${PREFIX}/share/doc/imap-uw
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+BUILDNAME= gso
+.else
+BUILDNAME= neb
+.endif
+
do-configure:
${SED} -e 's|@PREFIX@|${PREFIX}|g' \
< ${WRKSRC}/src/imapd/imapd.8c > ${WRKDIR}/imapd.8
@@ -27,7 +35,7 @@ do-configure:
< ${PKGDIR}/MESSAGE > ${MESSAGE_FILE}
do-build:
- cd ${WRKSRC} && ${MAKE} neb PREFIX=${PREFIX} CC="${LIBTOOL} ${CC}"
+ cd ${WRKSRC} && ${MAKE} ${BUILDNAME} PREFIX=${PREFIX} CC="${LIBTOOL} ${CC}"
do-install:
${INST_LIB} ${WRKSRC}/c-client/libimapuw.la ${PREFIX}/lib