d370f80cf2
Should fix the build on Solaris.
24 lines
602 B
Makefile
24 lines
602 B
Makefile
# $NetBSD: Makefile,v 1.16 2014/01/02 07:45:14 dholland Exp $
|
|
|
|
DISTNAME= p2c-1.20
|
|
PKGREVISION= 1
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ftp://csvax.cs.caltech.edu/pub/
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Pascal to C compiler (translates Pascal to C)
|
|
LICENSE= gnu-gpl-v1
|
|
|
|
WRKSRC= ${WRKDIR}/src
|
|
CFLAGS+= -Dunix=1
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
post-extract:
|
|
# The distfile contains a number of world-writable files, including
|
|
# an entry for '.' that causes pkgsrc to become upset. Fix it.
|
|
${CHMOD} 755 ${WRKDIR}
|
|
${CHMOD} -R o-w ${WRKDIR}/*
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|