Fix build without gcc
This commit is contained in:
parent
dcc596b5a6
commit
d370d5d7d4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=324131
@ -1,9 +1,5 @@
|
||||
# New ports collection makefile for: graphics/alpng
|
||||
# Date created: 27 Aug 2009
|
||||
# Whom: Stas Timokhin <stast@bsdportal.ru>
|
||||
#
|
||||
# Created by: Stas Timokhin <stast@bsdportal.ru>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= alpng
|
||||
PORTVERSION= 1.3
|
||||
@ -20,12 +16,16 @@ LIB_DEPENDS+= alleg:${PORTSDIR}/devel/allegro
|
||||
HAS_CONFIGURE= yes
|
||||
WRKSRC= ${WRKDIR}
|
||||
MAKEFILE= makefile
|
||||
USE_GMAKE= yes
|
||||
USES= gmake
|
||||
MAKE_ARGS= CC=${CC}
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
|
||||
PLIST_FILES= include/alpng.h \
|
||||
lib/libalpng.a
|
||||
|
||||
do-configure:
|
||||
@${REINPLACE_CMD} -e "s/gcc/${CC}/g" ${WRKSRC}/makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/libalpng.a ${PREFIX}/lib/libalpng.a
|
||||
${INSTALL_DATA} ${WRKSRC}/src/alpng.h ${PREFIX}/include/alpng.h
|
||||
|
Loading…
Reference in New Issue
Block a user