diff options
author | jmmv <jmmv> | 2002-12-12 21:02:58 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2002-12-12 21:02:58 +0000 |
commit | c27d330f6e108db2958c138f27aca84af60df645 (patch) | |
tree | 2f3f28ac96dac09a48217c79303de1c24d375b13 /net/tinyfugue | |
parent | 3f1954d2765d47852de6a8f695963dcbd0f6296d (diff) | |
download | pkgsrc-c27d330f6e108db2958c138f27aca84af60df645.tar.gz |
Convert this package to use buildlink2, so it passes sane variables to the
build process. This way it is easier to respect CC and CFLAGS.
Based on patch provided in PR pkg/19305 by Jonathan Perkin.
Also depend on gettext-lib, as the program links against -lintl.
Diffstat (limited to 'net/tinyfugue')
-rw-r--r-- | net/tinyfugue/Makefile | 10 | ||||
-rw-r--r-- | net/tinyfugue/distinfo | 4 | ||||
-rw-r--r-- | net/tinyfugue/patches/patch-ab | 16 |
3 files changed, 20 insertions, 10 deletions
diff --git a/net/tinyfugue/Makefile b/net/tinyfugue/Makefile index 37bed7ea646..6bc159180b9 100644 --- a/net/tinyfugue/Makefile +++ b/net/tinyfugue/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2001/05/16 15:39:10 agc Exp $ +# $NetBSD: Makefile,v 1.8 2002/12/12 21:02:58 jmmv Exp $ # FreeBSD Id: Makefile,v 1.8 1998/04/11 04:21:19 jseger Exp # @@ -12,10 +12,10 @@ MAINTAINER= packages@NetBSD.ORG HOMEPAGE= http://tf.tcp.com/~hawkeye/tf/ COMMENT= Popular programmable MUD client, with macro support and more -MAKEFILE= ${WRKSRC}/unix/Makefile -ALL_TARGET= ${MAKE_ARGS} all -INSTALL_TARGET= ${MAKE_ARGS} install +USE_BUILDLINK2= YES -MAKE_ARGS= TFVER=${DISTNAME:S/^tf-//} +MAKEFILE= ${WRKSRC}/unix/Makefile +MAKE_ENV= TFVER="${DISTNAME:S/^tf-//}" +.include "../../devel/gettext-lib/buildlink2.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/tinyfugue/distinfo b/net/tinyfugue/distinfo index 443c033c657..7ce4d746a34 100644 --- a/net/tinyfugue/distinfo +++ b/net/tinyfugue/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.3 2001/05/16 15:39:11 agc Exp $ +$NetBSD: distinfo,v 1.4 2002/12/12 21:02:58 jmmv Exp $ SHA1 (tf-40s1.tar.gz) = 89ee75d0d8501dd7fe5440c81cf9b294e5ccf746 Size (tf-40s1.tar.gz) = 349239 bytes -SHA1 (patch-ab) = f6a691a2d6f1555da2adacb419b0f63316ab5b9a +SHA1 (patch-ab) = 1849febe594874cc41b42e3d69a121e3f934112c SHA1 (patch-ac) = fddc7d415ca8716be1fc45c95a5b5e6888cbf1ae diff --git a/net/tinyfugue/patches/patch-ab b/net/tinyfugue/patches/patch-ab index 1167d5c6f20..33af96241ea 100644 --- a/net/tinyfugue/patches/patch-ab +++ b/net/tinyfugue/patches/patch-ab @@ -1,7 +1,7 @@ -$NetBSD: patch-ab,v 1.3 1998/08/07 11:11:01 agc Exp $ +$NetBSD: patch-ab,v 1.4 2002/12/12 21:02:58 jmmv Exp $ ---- unix/Config.orig Fri Apr 4 11:51:58 1997 -+++ unix/Config Mon Jun 16 18:18:29 1997 +--- unix/Config.orig Sat Mar 6 23:43:28 1999 ++++ unix/Config @@ -33,9 +33,12 @@ # even if an old version is currently in use. You can remove # the old version manually later when it is no longer in use. @@ -29,3 +29,13 @@ $NetBSD: patch-ab,v 1.3 1998/08/07 11:11:01 agc Exp $ ### Flags. +@@ -111,7 +114,8 @@ FLAGS='' + + # CC=cc + # CCFLAGS="-g" +- ++CC="${CC}" ++CCFLAGS="${CFLAGS}" + + ### Stripping. + # tfconfig will use "strip" on the tf binary unless you tell it otherwise. |