Skip to content

Commit

Permalink
libXpm: fix build on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
tnn2 committed Feb 10, 2023
1 parent d641e53 commit c8dc472
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion x11/libXpm/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.28 2023/01/23 08:30:02 adam Exp $
# $NetBSD: Makefile,v 1.29 2023/02/10 09:07:22 tnn Exp $

DISTNAME= libXpm-3.5.15
CATEGORIES= x11 graphics
Expand Down Expand Up @@ -26,6 +26,10 @@ USE_EXPLICIT_LIBDEPS= no
CONFIGURE_ENV+= ac_cv_search_gettext=no
# Explicitly define path to gzip.
CONFIGURE_ENV+= XPM_PATH_GZIP=${TOOLS_GZIP_CMD}
# compress(1) is not a tool known to pkgsrc. Just force the typical
# path of the tool for now. Linux systems usually do not have compress(1)
# installed by default and that bombs the configure phase.
CONFIGURE_ENV+= XPM_PATH_COMPRESS=/usr/bin/compress
MAKE_ENV+= INTLLIBS=${BUILDLINK_LDADD.gettext:Q}

.include "../../mk/bsd.prefs.mk"
Expand Down

0 comments on commit c8dc472

Please sign in to comment.