summaryrefslogtreecommitdiff
path: root/mail/pine/Makefile
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2002-07-18 14:18:48 +0000
committerabs <abs@pkgsrc.org>2002-07-18 14:18:48 +0000
commit29c5df047ae7d5ce7b93ffbd90620b9b7afa0545 (patch)
treecc8f91d9f7d961edcf2fd44c32b05253b15ecb3a /mail/pine/Makefile
parent285b3ac29464d7d05b0c30047f6a4d1563448823 (diff)
downloadpkgsrc-29c5df047ae7d5ce7b93ffbd90620b9b7afa0545.tar.gz
Fix build on Linux. No change to NetBSD or SunOS, so no PKGREVISION bump.
Diffstat (limited to 'mail/pine/Makefile')
-rw-r--r--mail/pine/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/mail/pine/Makefile b/mail/pine/Makefile
index ea703bdf102..e11b7d11e93 100644
--- a/mail/pine/Makefile
+++ b/mail/pine/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2002/06/21 14:16:48 abs Exp $
+# $NetBSD: Makefile,v 1.61 2002/07/18 14:18:48 abs Exp $
# FreeBSD Id: Makefile,v 1.21 1997/03/26 02:12:07 ache Exp
#
@@ -34,11 +34,11 @@ pre-patch:
${RM} -fr ${WRKSRC}/imap
do-configure:
- ${CP} -f ${WRKSRC}/pine/osdep/os-${BUILDNAME}.h ${WRKSRC}/pine/osdep/os-${BUILDNAME}.h.orig
+ ${CP} -f ${WRKSRC}/pine/osdep/os-${BUILDFILE}.h ${WRKSRC}/pine/osdep/os-${BUILDFILE}.h.orig
${SED} \
-e 's@/usr/local/lib/@${PREFIX}/etc/@' \
-e 's@DEFAULT_DEBUG.*2@DEFAULT_DEBUG 0@' \
- <${WRKSRC}/pine/osdep/os-${BUILDNAME}.h.orig >${WRKSRC}/pine/osdep/os-${BUILDNAME}.h
+ <${WRKSRC}/pine/osdep/os-${BUILDFILE}.h.orig >${WRKSRC}/pine/osdep/os-${BUILDFILE}.h
@${RM} -rf ${WRKSRC}/pico
@${LN} -sf ${LOCALBASE}/include/pico ${WRKSRC}/pico
@@ -77,8 +77,11 @@ do-install:
.include "../../mk/bsd.pkg.mk"
.if ${OPSYS} == "SunOS"
BUILDNAME= gs5
+BUILDFILE= gs5
.elif ${OPSYS} == "Linux"
-BUILDNAME= lrh
+BUILDNAME= lrh
+BUILDFILE= lnx
.else
BUILDNAME= neb
+BUILDFILE= neb
.endif