mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
fix build on -stable
Noted by: bento via kris
This commit is contained in:
parent
e3b0edbfd6
commit
eeef65aa64
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99244
@ -17,7 +17,6 @@ PATCH_DIST_ARGS= -p1 -d ${PATCH_WRKSRC}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Anti-Lamenessing Engine
|
||||
|
||||
USE_GCC= 3.1
|
||||
USE_GMAKE= yes
|
||||
|
||||
.if !defined(WITHOUT_IMAGEMAGICK)
|
||||
@ -25,7 +24,17 @@ LIB_DEPENDS= Magick.6:${PORTSDIR}/graphics/ImageMagick
|
||||
MAKE_ARGS= IMAGEMAGICK=1
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500035
|
||||
USE_REINPLACE= yes
|
||||
USE_GCC= 3.1
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|^ g++| ${CXX}|" ${WRKSRC}/Makefile
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/ale ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
11
graphics/ale/files/patch-channel.h
Normal file
11
graphics/ale/files/patch-channel.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- channel.h.orig Tue Jan 27 10:59:02 2004
|
||||
+++ channel.h Tue Jan 27 10:59:10 2004
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifndef __channel_h__
|
||||
#define __channel_h__
|
||||
|
||||
-#include <stdint.h>
|
||||
+#include <inttypes.h>
|
||||
|
||||
/*
|
||||
* Channel type used by ALE.
|
Loading…
Reference in New Issue
Block a user