diff options
Diffstat (limited to 'chat/tzc')
-rw-r--r-- | chat/tzc/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/chat/tzc/Makefile b/chat/tzc/Makefile index 981c357a949..f411457ca88 100644 --- a/chat/tzc/Makefile +++ b/chat/tzc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2011/03/28 13:11:21 obache Exp $ +# $NetBSD: Makefile,v 1.14 2011/11/28 19:44:14 marino Exp $ # DISTNAME= tzc-2.6.15 @@ -15,6 +15,17 @@ PKG_DESTDIR_SUPPORT= user-destdir CPPFLAGS+= -I/usr/include/kerberosIV -I/usr/include/krb5 LDFLAGS+= -lroken -lcrypto -lcom_err +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" +LDFLAGS+= -lcrypt +SUBST_CLASSES+= FreeFly +SUBST_STAGE.FreeFly= post-patch +SUBST_MESSAGE.FreeFly= Removing unwanted libdes +SUBST_FILES.FreeFly= Makefile +SUBST_SED.FreeFly= -e 's,-lkrb -ldes,-lkrb,g' +.endif + INSTALLATION_DIRS+= bin .include "../../chat/zephyr/buildlink3.mk" |