update to newer version. Patch away !POSIX Makefile behavior, stops the

Makefile from lying about itself ;)
This commit is contained in:
espie 2011-12-29 17:51:27 +00:00
parent 2133847a2f
commit 7da5784bc5
4 changed files with 28 additions and 11 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.7 2010/11/15 19:46:09 espie Exp $
# $OpenBSD: Makefile,v 1.8 2011/12/29 17:51:27 espie Exp $
DISTNAME = ucpp-1.2
DISTNAME = ucpp-1.3.2
COMMENT = C preprocessor and lexer
CATEGORIES = devel
HOMEPAGE = http://pornin.nerim.net/ucpp/
MASTER_SITES = ${HOMEPAGE}
HOMEPAGE = http://code.google.com/p/ucpp
MASTER_SITES = http://ucpp.googlecode.com/files/
PERMIT_PACKAGE_FTP = Yes
PERMIT_PACKAGE_CDROM = Yes
@ -16,6 +16,7 @@ MAINTAINER = Marc Espie <espie@openbsd.org>
MAKE_FLAGS = FLAGS='${CFLAGS} -D_POSIX_SOURCE' CC='${CC}'
USE_GROFF = Yes
NO_REGRESS = Yes
WRKDIST = ${WRKDIR}/ucpp
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/ucpp ${PREFIX}/bin

View File

@ -1,5 +1,5 @@
MD5 (ucpp-1.2.tar.gz) = K8MyshWNUnSwFUtZOa+8pA==
RMD160 (ucpp-1.2.tar.gz) = QjxIQKasW5W44r216OoqsHSv6BM=
SHA1 (ucpp-1.2.tar.gz) = qIPkKQaPpIAOM2Nji2DnEFKRF/0=
SHA256 (ucpp-1.2.tar.gz) = QEef/55LNveUtdmm6hrrpCUiLq+VtYF9cunZB7Cwje0=
SIZE (ucpp-1.2.tar.gz) = 72761
MD5 (ucpp-1.3.2.tar.gz) = AWgiliTPrECedmkTUGlhqA==
RMD160 (ucpp-1.3.2.tar.gz) = 2+t6f4yJlhyi5US4EDRdAlVhhms=
SHA1 (ucpp-1.3.2.tar.gz) = RS66ki5PQWA1OcncOZR9InHkcJM=
SHA256 (ucpp-1.3.2.tar.gz) = mDlB0x7o02YIXK3yjbdesfXLA7oeWFO5jxL39Rxjt3Y=
SIZE (ucpp-1.3.2.tar.gz) = 96939

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-Makefile,v 1.1 2011/12/29 17:51:27 espie Exp $
--- Makefile.orig Thu Dec 29 18:47:23 2011
+++ Makefile Thu Dec 29 18:47:34 2011
@@ -80,10 +80,8 @@ LIBS =
STAND_ALONE = -DSTAND_ALONE
-ifdef STAND_ALONE
- CSRC = mem.c nhash.c cpp.c lexer.c assert.c macro.c eval.c
- FINAL_STEP = $(CC) $(LDFLAGS) -DUCPP_CONFIG $(STAND_ALONE) -o ucpp $(CSRC) $(LIBS)
-endif
+CSRC = mem.c nhash.c cpp.c lexer.c assert.c macro.c eval.c
+FINAL_STEP = $(CC) $(LDFLAGS) -DUCPP_CONFIG $(STAND_ALONE) -o ucpp $(CSRC) $(LIBS)
# ----- nothing should be changed below this line -----

View File

@ -1,3 +1,3 @@
@comment $OpenBSD: PLIST,v 1.2 2004/09/14 23:44:02 espie Exp $
bin/ucpp
@comment $OpenBSD: PLIST,v 1.3 2011/12/29 17:51:27 espie Exp $
@bin bin/ucpp
@man man/man1/ucpp.1