aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/g2/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/g2/Makefile b/graphics/g2/Makefile
index 6510c92c62d7..de9e7bcb1b0f 100644
--- a/graphics/g2/Makefile
+++ b/graphics/g2/Makefile
@@ -11,13 +11,16 @@ MASTER_SITE_SUBDIR= libs/graphics
MAINTAINER= ports@FreeBSD.org
COMMENT= Easy to use, portable, and powerful 2D graphics library
-LIB_DEPENDS= gd:${PORTSDIR}/graphics/gd
+LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
USE_XORG= x11
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
-NO_STAGE= yes
+post-patch:
+ @${REINPLACE_CMD} -E 's,(INC|LIB)DIR),DESTDIR)$$(&,g' \
+ ${WRKSRC}/Makefile.in
+
do-build:
cd ${WRKSRC} ; make depend ; make