- don't hardcode OSREV, it's not really needed

This commit is contained in:
jasper 2011-07-19 07:29:37 +00:00
parent 184727a1a5
commit ce5a2a478a
2 changed files with 14 additions and 5 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.39 2011/07/18 19:06:36 naddy Exp $
# $OpenBSD: Makefile,v 1.40 2011/07/19 07:29:37 jasper Exp $
COMMENT= Scheme interpreter with Tk interface
STK_VERSION= 4.0.1
DISTNAME= STk-${STK_VERSION}
REVISION= 15
REVISION= 16
CATEGORIES= lang
HOMEPAGE= http://kaolin.unice.fr/STk/
@ -26,7 +26,7 @@ DESTDIRNAME= root
NO_REGRESS= Yes
STK_ARCH= OpenBSD-$(OSREV)-$(MACHINE)
STK_ARCH= OpenBSD-$(MACHINE)
SUBST_VARS= STK_VERSION STK_ARCH
.include <bsd.port.mk>

View File

@ -1,6 +1,15 @@
$OpenBSD: patch-configure,v 1.3 2008/08/19 22:45:27 jasper Exp $
$OpenBSD: patch-configure,v 1.4 2011/07/19 07:29:37 jasper Exp $
--- configure.orig Sun Sep 26 17:02:14 1999
+++ configure Fri Aug 15 20:15:21 2008
+++ configure Tue Jul 19 09:27:22 2011
@@ -618,7 +618,7 @@ DFLGS="-DSTk_CODE -DSCM_CODE"
EOBJ=""
ETKOBJ=""
EDFLGS=""
-MACHINE=$os-$version-$machine
+MACHINE=$os-$machine
if test "$machine" = win32
then
FLAVOR=win
@@ -692,6 +692,7 @@ case $MACHINE in
HP*) OS=HPUX; DFLGS="$DFLGS -Dhpux";;
Linux*) OS=LINUX;;