summaryrefslogtreecommitdiff
path: root/comms/jpilot-syncmal/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-03-02 17:38:09 +0000
committerjlam <jlam@pkgsrc.org>2001-03-02 17:38:09 +0000
commit2fac29e044904c94adc7d6dd4869e294d2de051e (patch)
treec31f2ce837102d7c7915729a35dc0a298a446886 /comms/jpilot-syncmal/Makefile
parentce7f49dd1f8406a886f57e12f39679300bc36177 (diff)
downloadpkgsrc-2fac29e044904c94adc7d6dd4869e294d2de051e.tar.gz
Define __unix__=1 for malsync code to compile correctly. Fixes pkg/12308.
Diffstat (limited to 'comms/jpilot-syncmal/Makefile')
-rw-r--r--comms/jpilot-syncmal/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/comms/jpilot-syncmal/Makefile b/comms/jpilot-syncmal/Makefile
index bf770f8307f..69b32237f37 100644
--- a/comms/jpilot-syncmal/Makefile
+++ b/comms/jpilot-syncmal/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/03/02 00:04:26 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2001/03/02 17:38:09 jlam Exp $
DISTNAME= jpilot-syncmal_0.60
PKGNAME= jpilot-syncmal-0.60
@@ -30,6 +30,8 @@ CONFIGURE_ARGS+= --with-mal-source="${WRKSRC}/../malsync"
CONFIGURE_ARGS+= --with-plugin-prefix="${JPILOTDIR}/include/jpilot"
CONFIGURE_ARGS+= --with-pilot-prefix="${PILOTLINKDIR}"
+CFLAGS+= -D__unix__=1
+
do-install:
${INSTALL_DATA} ${WRKSRC}/.libs/libsyncmal.so ${PLUGINSDIR}