diff options
author | tron <tron@pkgsrc.org> | 1998-05-07 15:17:46 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1998-05-07 15:17:46 +0000 |
commit | 8f1365f06967ef484b4d03a303a502d04e2e9233 (patch) | |
tree | b4bda563ab1111da6012e30d5b38b45172a6a014 /graphics/gimp | |
parent | e1fd931ea6fce1d5b5df9b1f17329c09fdbf9e5c (diff) | |
download | pkgsrc-8f1365f06967ef484b4d03a303a502d04e2e9233.tar.gz |
Because "gimp" uses its own binary to create a database it can't be built
without running X11. Add "IS_INTERACTIVE= yes" and a check for "$DISPLAY"
to handle that properly.
Diffstat (limited to 'graphics/gimp')
-rw-r--r-- | graphics/gimp/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/gimp/Makefile b/graphics/gimp/Makefile index 3b3e406f092..ac01bafc241 100644 --- a/graphics/gimp/Makefile +++ b/graphics/gimp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 1998/05/04 22:01:16 tron Exp $ +# $NetBSD: Makefile,v 1.14 1998/05/07 15:17:46 tron Exp $ DISTNAME= gimp-0.99.28 CATEGORIES= graphics @@ -20,6 +20,7 @@ DEPENDS+= xpm-3.4j:../../graphics/xpm GIMP_DATA= gimp-data-extras-0.99a +IS_INTERACTIVE= yes USE_X11= yes USE_GTEXINFO= yes GNU_CONFIGURE= yes @@ -37,6 +38,12 @@ post-configure: PLIST_SRC= ${WRKDIR:T}/.PLIST-src +pre-build: + @if [ "$$DISPLAY" = "" ]; then \ + echo "${DISTNAME} can only be built under X11."; \ + exit 1; \ + fi + pre-install: @if [ ! -f ${PREFIX}/info/dir ]; then \ ${SED} -ne '1,/Menu:/p' ${LOCALBASE}/info/dir > ${PREFIX}/info/dir; \ |