summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-02-25 11:32:19 +0000
committerjperkin <jperkin>2016-02-25 11:32:19 +0000
commit34efbe7b066262dfe207f3fe68a1220ebe09eb5e (patch)
treeaf9d0a96105a8441f65f775cc3e4262d7d1e8333 /comms
parent74777f69c7a69514e013cea5a8fbb7540afe1068 (diff)
downloadpkgsrc-34efbe7b066262dfe207f3fe68a1220ebe09eb5e.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'comms')
-rw-r--r--comms/asterisk/Makefile8
-rw-r--r--comms/asterisk13/Makefile8
-rw-r--r--comms/asterisk18/Makefile8
-rw-r--r--comms/xtel/Makefile7
4 files changed, 11 insertions, 20 deletions
diff --git a/comms/asterisk/Makefile b/comms/asterisk/Makefile
index 0ffd86a98d0..d48f744d83f 100644
--- a/comms/asterisk/Makefile
+++ b/comms/asterisk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.133 2016/02/07 08:18:43 jnemeth Exp $
+# $NetBSD: Makefile,v 1.134 2016/02/25 11:32:19 jperkin Exp $
#
# NOTE: when updating this package, there are two places that sound
# tarballs need to be checked
@@ -151,19 +151,17 @@ SUBST_SED.configs+= -e "s|/usr/local/man|${ASTMANDIR}|"
SUBST_SED.configs+= -e "s|/usr/local|${PREFIX}|"
SUBST_SED.configs+= -e "s|/var|${VARBASE}|"
-.if (${OPSYS} == "NetBSD")
# XXX gross hack, remove when atomics properly implemented
-SUBST_CLASSES+= atomics
+SUBST_CLASSES.NetBSD+= atomics
SUBST_STAGE.atomics= post-configure
SUBST_FILES.atomics= include/asterisk/autoconfig.h
SUBST_SED.atomics= -e "s|^\#define HAVE_GCC_ATOMICS 1|\#undef HAVE_GCC_ATOMICS|"
# XXX gross hack, IP_PKTINFO in NetBSD isn't compatible with anything else
-SUBST_CLASSES+= pktinfo
+SUBST_CLASSES.NetBSD+= pktinfo
SUBST_STAGE.pktinfo= post-configure
SUBST_FILES.pktinfo= include/asterisk/autoconfig.h
SUBST_SED.pktinfo= -e "s|^\#define HAVE_PKTINFO 1|\#undef HAVE_PKTINFO|"
-.endif
RCD_SCRIPTS= asterisk
OWN_DIRS_PERMS+= ${ASTDBDIR} ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
diff --git a/comms/asterisk13/Makefile b/comms/asterisk13/Makefile
index 53b2fcad1a1..2e884e83eac 100644
--- a/comms/asterisk13/Makefile
+++ b/comms/asterisk13/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2016/02/07 09:13:34 jnemeth Exp $
+# $NetBSD: Makefile,v 1.4 2016/02/25 11:32:19 jperkin Exp $
#
# NOTE: when updating this package, there are two places that sound
# tarballs need to be checked
@@ -146,20 +146,18 @@ SUBST_SED.configs+= -e "s|/usr/local/man|${ASTMANDIR}|"
SUBST_SED.configs+= -e "s|/usr/local|${PREFIX}|"
SUBST_SED.configs+= -e "s|/var|${VARBASE}|"
-.if (${OPSYS} == "NetBSD")
# XXX gross hack, remove when item is fixed
-SUBST_CLASSES+= autoconfig
+SUBST_CLASSES.NetBSD+= autoconfig
SUBST_STAGE.autoconfig= post-configure
SUBST_FILES.autoconfig= include/asterisk/autoconfig.h
SUBST_SED.autoconfig= -e "s|^\#define HAVE_GCC_ATOMICS 1|\#undef HAVE_GCC_ATOMICS|"
SUBST_SED.autoconfig+= -e "s|^\#define HAVE_GETHOSTBYNAME_R_6 1|\#undef HAVE_GETHOSTBYNAME_R_6|"
# XXX gross hack, IP_PKTINFO in NetBSD isn't compatible with anything else
-SUBST_CLASSES+= pktinfo
+SUBST_CLASSES.NetBSD+= pktinfo
SUBST_STAGE.pktinfo= post-configure
SUBST_FILES.pktinfo= include/asterisk/autoconfig.h
SUBST_SED.pktinfo= -e "s|^\#define HAVE_PKTINFO 1|\#undef HAVE_PKTINFO|"
-.endif
RCD_SCRIPTS= asterisk
OWN_DIRS_PERMS+= ${ASTDBDIR} ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
diff --git a/comms/asterisk18/Makefile b/comms/asterisk18/Makefile
index c0b524cd2f9..8f6b908b839 100644
--- a/comms/asterisk18/Makefile
+++ b/comms/asterisk18/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.103 2015/11/02 12:02:23 tnn Exp $
+# $NetBSD: Makefile,v 1.104 2016/02/25 11:32:19 jperkin Exp $
#
# NOTE: when updating this package, there are two places that sound
# tarballs need to be checked
@@ -133,19 +133,17 @@ SUBST_SED.configs+= -e "s|/usr/local/man|${ASTMANDIR}|"
SUBST_SED.configs+= -e "s|/usr/local|${PREFIX}|"
SUBST_SED.configs+= -e "s|/var|${VARBASE}|"
-.if (${OPSYS} == "NetBSD")
# XXX gross hack, remove when atomics properly implemented
-SUBST_CLASSES+= atomics
+SUBST_CLASSES.NetBSD+= atomics
SUBST_STAGE.atomics= post-configure
SUBST_FILES.atomics= include/asterisk/autoconfig.h
SUBST_SED.atomics= -e "s|^\#define HAVE_GCC_ATOMICS 1|\#undef HAVE_GCC_ATOMICS|"
# XXX gross hack, IP_PKTINFO in NetBSD isn't compatible with anything else
-SUBST_CLASSES+= pktinfo
+SUBST_CLASSES.NetBSD+= pktinfo
SUBST_STAGE.pktinfo= post-configure
SUBST_FILES.pktinfo= include/asterisk/autoconfig.h
SUBST_SED.pktinfo= -e "s|^\#define HAVE_PKTINFO 1|\#undef HAVE_PKTINFO|"
-.endif
RCD_SCRIPTS= asterisk
OWN_DIRS_PERMS+= ${ASTDBDIR} ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
diff --git a/comms/xtel/Makefile b/comms/xtel/Makefile
index 6fc218f3d8d..cc5bf0f9b9e 100644
--- a/comms/xtel/Makefile
+++ b/comms/xtel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2014/06/01 16:44:38 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2016/02/25 11:32:19 jperkin Exp $
DISTNAME= xtel-3.3.0
PKGREVISION= 14
@@ -33,10 +33,7 @@ INSTALL_MAKE_FLAGS= PPPDIR=${PREFIX}/share/examples/xtel
SPECIAL_PERMS+= bin/mdmdetect ${SETUID_ROOT_PERMS}
-.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "SunOS"
-BUILDLINK_TRANSFORM+= rm:-lucb
-.endif
+BUILDLINK_TRANSFORM.SunOS+= rm:-lucb
.include "../../mk/jpeg.buildlink3.mk"
.include "../../x11/libXaw/buildlink3.mk"