From 51eac2bccd23164b2b8a83b5627c86cf093ee3f3 Mon Sep 17 00:00:00 2001 From: pedro Date: Mon, 25 Sep 2006 00:00:19 +0000 Subject: [PATCH] No need to link against Lua, okay jolan@ --- graphics/luagd/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/graphics/luagd/Makefile b/graphics/luagd/Makefile index 6ddbcf67926..84e789e946a 100644 --- a/graphics/luagd/Makefile +++ b/graphics/luagd/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.3 2006/08/03 12:53:18 espie Exp $ +# $OpenBSD: Makefile,v 1.4 2006/09/25 00:00:19 pedro Exp $ COMMENT= "gd binding for the lua language" V= 2.0.33r2 -PKGNAME= luagd-$(V) +PKGNAME= luagd-$(V)p0 DISTNAME= lua-gd-$(V) CATEGORIES= graphics @@ -18,10 +18,11 @@ PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -WANTLIB= freetype fontconfig iconv m z +WANTLIB= freetype fontconfig iconv z LIB_DEPENDS= jpeg.>=62::graphics/jpeg png.>=2::graphics/png \ gd.>=20.33::graphics/gd BUILD_DEPENDS= :lua->=5.1:lang/lua +RUN_DEPENDS= ${BUILD_DEPENDS} NO_REGRESS= Yes USE_X11= Yes @@ -29,8 +30,8 @@ USE_X11= Yes do-build: $(CC) $(CFLAGS) -DGD_JPEG -DGD_FONTCONFIG -DGD_FREETYPE -DGD_PNG\ -DGD_GIF -fPIC -I$(LOCALBASE)/include -shared -L$(LOCALBASE)/lib\ - -llua -lm -L$(X11BASE)/lib $(WRKDIST)/luagd.c -o ${WRKDIST}/core.so\ - -ljpeg -lfontconfig -lfreetype -lpng -lz -liconv -lgd + -L$(X11BASE)/lib $(WRKDIST)/luagd.c -o ${WRKDIST}/core.so -ljpeg\ + -lfontconfig -lfreetype -lpng -lz -liconv -lgd SHAREDIR= ${PREFIX}/share/lua/5.1 LIBDIR= ${PREFIX}/lib/lua/5.1