- Fix build on non-i386 arches by using a common Makefile, there is no need
to it to be MD. - Do not patch file into existance, place it in files/ instead - There are no regression tests, so mark it as such
This commit is contained in:
parent
8a0d0886ea
commit
3e0f336e88
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/02/16 14:57:07 markus Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2003/03/02 18:26:41 pvalchev Exp $
|
||||
|
||||
COMMENT= "UTF8 support library from Plan 9"
|
||||
|
||||
VERSION= 2.0
|
||||
DISTNAME= libutf-${VERSION}
|
||||
CATEGORIES= devel plan9
|
||||
MASTER_SITES= http://pdos.lcs.mit.edu/~rsc/software/
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
HOMEPAGE= http://pdos.lcs.mit.edu/~rsc/software/
|
||||
MAINTAINER= Markus Friedl <markus@openbsd.org>
|
||||
EXTRACT_SUFX= .tgz
|
||||
@ -15,6 +15,10 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
NO_REGRESS= Yes
|
||||
FAKE_FLAGS= PREFIX=${WRKINST}${PREFIX}
|
||||
|
||||
pre-build:
|
||||
@cp ${FILESDIR}/Make.OpenBSD ${WRKSRC}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
8
devel/libutf/files/Make.OpenBSD
Normal file
8
devel/libutf/files/Make.OpenBSD
Normal file
@ -0,0 +1,8 @@
|
||||
CC=gcc
|
||||
CFLAGS+=-Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -O2 -g -c -I. -I$(PREFIX)/include
|
||||
O=o
|
||||
AR=ar
|
||||
ARFLAGS=rvc
|
||||
NAN=nan64.$O # default, can be overriden by Make.$(SYSNAME)
|
||||
NAN=nan64.$O
|
||||
RANLIB=ranlib
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-Make_OpenBSD-386,v 1.1.1.1 2003/02/16 14:57:07 markus Exp $
|
||||
--- Make.OpenBSD-386.orig Fri Feb 14 18:43:41 2003
|
||||
+++ Make.OpenBSD-386 Fri Feb 14 18:43:41 2003
|
||||
@@ -0,0 +1,8 @@
|
||||
+CC=gcc
|
||||
+CFLAGS+=-Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -O2 -g -c -I. -I$(PREFIX)/include
|
||||
+O=o
|
||||
+AR=ar
|
||||
+ARFLAGS=rvc
|
||||
+NAN=nan64.$O # default, can be overriden by Make.$(SYSNAME)
|
||||
+NAN=nan64.$O
|
||||
+RANLIB=ranlib
|
@ -1,5 +1,14 @@
|
||||
--- Makefile.orig Thu Feb 13 16:04:23 2003
|
||||
+++ Makefile Fri Feb 14 18:39:02 2003
|
||||
--- Makefile.orig Thu Feb 13 08:04:23 2003
|
||||
+++ Makefile Sun Mar 2 10:49:03 2003
|
||||
@@ -10,7 +10,7 @@ OBJTYPE!=uname -m | sed 's;i.86;386;; s;
|
||||
# the gnu rules will mess up bsd but not vice versa,
|
||||
# hence the gnu rules come first.
|
||||
|
||||
-include Make.$(SYSNAME)-$(OBJTYPE)
|
||||
+include Make.$(SYSNAME)
|
||||
|
||||
PREFIX=/usr/local
|
||||
|
||||
@@ -61,6 +61,7 @@ install: $(LIB)
|
||||
|
||||
$(LIB): $(OFILES)
|
||||
|
Loading…
Reference in New Issue
Block a user