Simplify sedding and claim that system provides asprintf.

Included asprintf replacement doesn't compile on NetBSD-current/amd64.
This commit is contained in:
Thomas Klausner 2008-09-22 12:45:11 +00:00
parent dbf5bd4abe
commit d0cc5a6643
3 changed files with 15 additions and 15 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2008/09/10 19:30:56 pmatias Exp $
# $NetBSD: Makefile,v 1.7 2008/09/22 12:45:11 thomasklausner Exp $
#
DISTNAME= ion-3-20080825
@ -36,7 +36,7 @@ SUBST_CLASSES+= fix-paths
SUBST_STAGE.fix-paths= pre-configure
SUBST_MESSAGE.fix-paths= Setting prefix paths.
SUBST_FILES.fix-paths= system.mk
SUBST_SED.fix-paths= -e 's,@PREFIX@,${PREFIX},g'
SUBST_SED.fix-paths= -e 's,/usr/local,${PREFIX},g'
.include "../../mk/bsd.prefs.mk"

View file

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.4 2008/09/10 19:30:56 pmatias Exp $
$NetBSD: distinfo,v 1.5 2008/09/22 12:45:11 thomasklausner Exp $
SHA1 (ion-3-20080825.tar.gz) = b70a7081b9f255328c5228d6c9a0b3cf946b5667
RMD160 (ion-3-20080825.tar.gz) = 2b3bc78f35c5929415327ea2609522e0e944f228
Size (ion-3-20080825.tar.gz) = 642588 bytes
SHA1 (patch-aa) = 4442682111941ac9632bcf657234a8b0200a635a
SHA1 (patch-aa) = 3e9b6405552469b30055ef56543a97c982f08c55
SHA1 (patch-ab) = 582bfb36d41f8661575b9771ae7da0ee5cb3c89a
SHA1 (patch-ac) = 97bc5e16b4610adb77862202cdbc49111b778626
SHA1 (patch-ad) = 4e844832cbc039e7820cda3f9742ab9549d61e02

View file

@ -1,16 +1,7 @@
$NetBSD: patch-aa,v 1.1.1.1 2008/02/13 21:20:48 pmatias Exp $
$NetBSD: patch-aa,v 1.2 2008/09/22 12:45:13 thomasklausner Exp $
--- system.mk.orig 2008-02-05 15:42:06.000000000 -0200
--- system.mk.orig 2008-08-25 15:44:24.000000000 +0000
+++ system.mk
@@ -8,7 +8,7 @@
# Installation path prefix. Unless you know what you're doing, the default
# of /usr/local is likely the correct choice.
-PREFIX=/usr/local
+PREFIX=@PREFIX@
# Unless you are creating a package conforming to some OS's standards, you
# probably do not want to modify the following directories:
@@ -16,11 +16,12 @@ PREFIX=/usr/local
# Main binaries
BINDIR=$(PREFIX)/bin
@ -54,3 +45,12 @@ $NetBSD: patch-aa,v 1.1.1.1 2008/02/13 21:20:48 pmatias Exp $
# You may also need to give the location of its headers. The following
# should work on Mac OS X (which needs the above option as well) with
# macports.
@@ -127,7 +128,7 @@ DEFINES += -DCF_XFREE86_TEXTPROP_BUG_WOR
# You may uncomment this if you know that your system C libary provides
# asprintf and vasprintf. (GNU libc does.) If HAS_SYSTEM_ASPRINTF is not
# defined, an implementation provided in libtu/sprintf_2.2/ is used.
-#HAS_SYSTEM_ASPRINTF=1
+HAS_SYSTEM_ASPRINTF=1
# The following setting is needed with GNU libc for clock_gettime and the
# monotonic clock. Other systems may not need it, or may not provide a