add a no_x11 FLAVOR

This commit is contained in:
brad 2000-09-19 18:12:16 +00:00
parent a27b3f4e4a
commit 0183b91f7d
3 changed files with 28 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 2000/09/19 17:01:19 mickey Exp $
# $OpenBSD: Makefile,v 1.2 2000/09/19 18:12:16 brad Exp $
DISTNAME= GD-1.30
PKGNAME= p5-${DISTNAME}
@ -7,15 +7,24 @@ NEED_VERSION= 1.330
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= GD
MAINTAINER= ports@OpenBSD.org
LIB_DEPENDS= gd.18:${PORTSDIR}/graphics/gd
MAINTAINER= ports@openbsd.org
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= perl
CONFIGURE_STYLE= perl
FLAVORS= no_x11
FLAVOR?=
.if ${FLAVOR:L} == "no_x11"
PATCH_LIST= patch-MakeMaker.PL-no_x11
.else
PATCH_LIST= patch-MakeMaker.PL
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,15 @@
--- Makefile.PL.orig Thu Jun 22 23:31:50 2000
+++ Makefile.PL Tue Sep 19 12:17:38 2000
@@ -10,9 +10,9 @@
# FEATURE FLAGS
warn "\nPlease choose the features that match how libgd was built:\n";
-my $JPEG = lc prompt('Build JPEG support?','y') eq 'y';
-my $TTF = lc prompt('Build FreeType support?','y') eq 'y';
-my $XPM = $^O !~ /^freebsd|MSWin32$/ && lc prompt('Build XPM support?','y') eq 'y';
+my $JPEG = 1;
+my $TTF = 0;
+my $XPM = 0;
my $FCGI = 0; # set to 1 to build compatability with fastCGI